简体   繁体   English

在R Studio服务器1.0.153上运行简单的R Shiny应用程序时出错

[英]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.

相关问题 在R Studio服务器版本1.0.153中安装和加载“秤”软件包时出错 - Error in installation and loading of the “scales” packages in R studio server version 1.0.153 在R studio中运行app成功但在Shiny服务器中运行不成功 - Running app successful in R studio but not in Shiny server R Shiny 应用程序在从 R Studio 运行时会在一段时间后自行关闭,但它仍在听……这是正常的吗? - R Shiny app closes by itself after a while when running from R Studio, but it's still listening… is this normal? 运行简单的Shiny应用程序时出错 - Error while Running a simple Shiny app 运行带有其他R文件的闪亮服务器应用程序 - Running shiny server app with additional r files r闪亮的服务器正在运行,但应用程序无法运行 - r shiny server is running, but the app is not working 运行Shiny App时修改非反应性R数据框 - Modifying a Non-Reactive R Dataframe while running Shiny App 如何知道应用程序是在本地还是在服务器上运行? (R 闪亮) - How to know if the app is running at local or on server? (R Shiny) R Shiny 应用程序在 Linux 服务器上运行时下载文件 - Downloading Files when R Shiny App is running on a Linux Server R Studio Shiny 应用程序错误:未找到 object“变量(克拉)” - R Studio Shiny App Error: object 'Variable(carat)' not found
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM