RStudio服务器初始化错误:返回状态代码500

时间:2015-04-14 11:42:40

标签: r amazon-web-services rstudio

当我登录到安装为an Amazon Machine Image的RStudio服务器时,我看到消息“RStudio Server Initialization Error”和“状态代码500返回”,如屏幕截图所示。当我单击“确定”时,没有任何更改。

enter image description here

这是什么意思,我该如何解决这个问题?

2 个答案:

答案 0 :(得分:2)

请参阅以下链接。它将指导您完整安装R-Studio服务器以及所需的依赖项。

Automated Installation of R-Studio Using Shell Script

答案 1 :(得分:1)

如果您可以说明您正在使用哪个版本的RStudio Server,那将非常有用。无论如何,您可以尝试以下方法:

  1. 使用以下代码安装最新版本:wget http://download2.rstudio.org/rstudio-server-0.98.1103-amd64.deb。如果您需要32位版本wget http://download2.rstudio.org/rstudio-server-0.98.1103-i386.deb
  2. 从初始工作目录中删除启动文件(.Rprofile, .Renviron, and .RData),该目录应该是用户的家。
  3. 检查您是否可以从命令行运行R,如果您收到任何错误消息 - 请先修复