[英]Error while running simple R shiny app on R Studio server 1.0.153
I am using R studio server 1.0.153 on citrix virtual machine. 我在citrix虚拟机上使用R Studio服务器1.0.153。 I just wrote a simple R shiny program and saved the file as app.R.
我只是编写了一个简单的R Shiny程序,并将文件另存为app.R。
## app.R ##
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody()
)
server <- function(input, output) { }
shinyApp(ui, server)
When clicked on run app, I get the following error snapshot. 当点击运行应用程序时,我得到以下错误快照。 Please help me to run the app.
请帮助我运行该应用程序。
Try this: 尝试这个:
library(shiny)
library(shinydashboard)
ui <- dashboardPage(
dashboardHeader(),
dashboardSidebar(),
dashboardBody()
)
ui <- dashboardPage(header,sidebar,body, skin="blue")
server <- function(input, output) { }
app <- shinyApp(ui,server)
runApp(app,host="0.0.0.0",port=5050)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.