There are web compiler to run R code like on this website: https://rdrr.io/snippets/. But it is not possible to run shiny apps there. For example, try
library(shiny)
ui <- fluidPage(
numericInput("obs", "Observations:", 10, min = 1, max = 100),
verbatimTextOutput("value")
)
server <- function(input, output) {
output$value <- renderText({ input$obs })
}
shinyApp(ui, server)
on the site above and you get the error "createTcpServer: address not available".
Is there a website where we can directly run R code containing shiny apps?
Background: I made a simple shiny app which I want to provide to collegues. Unfortunately, we can not install software (like R) on computers due to security policies of our institution. Therefore, I look for a web compiler.
CodePudding user response:
You can deploy any Shiny app for free on ShinyApps.io for a limited number of hours per month. Deployment can be done straight from R Studio; see the Documentation.