【发布时间】:2016-02-27 03:36:38
【问题描述】:
Centos 6.7 机器。已按照以下说明安装 R 和 RStudio Server:
https://www.rstudio.com/products/rstudio/download-server/
- 添加 EPEL
- 安装R
- 安装 RStudio 服务器
但是,在尝试启动 RStudio 时,我在 /var/log/messages 中看到以下内容:
Nov 24 07:39:35 myserver rserver[14346]: ERROR R shared library (/usr/local/lib64/R/lib/libR.so) not found. If this is a custom build of R, was it built with the --enable-R-shlib option?; LOGGED FROM: int main(int, char* const*) /root/rstudio/src/cpp/server/ServerMain.cpp:402
Nov 24 07:39:35 myserver init: rstudio-server main process (14346) terminated with status 1
Nov 24 07:39:35 myserver init: rstudio-server respawning too fast, stopped
从另一台机器上的全新安装开始,这些相同的安装步骤有效并且 RStudio 启动时没有错误,/usr/local/lib64/R/ 甚至不存在,所以我很困惑为什么 RStudio 在有问题的机器上甚至正在那里寻找共享库...
难倒!感谢您的建议!
丹
【问题讨论】:
标签: r linux centos6 rstudio-server