提问人:Hack-R 提问时间:4/2/2015 最后编辑:Hack-R 更新时间:10/6/2016 访问量:1492
RStudio Server 表示 rsession-which-r 是无法识别的选项
RStudio Server says rsession-which-r is an unrecognised option
问:
我正在努力连接到 Debian 上的 R()。rstudio-server
rsession
我以非root用户身份启动它。它说,除其他外,这是一个无法识别的选项:rsession-which-r
[rsession-jdm] ERROR system error 2 (No such file or directory) [path=/etc/sysconfig/i18n]; OCCURRED AT: core::Error core::FilePath::open_r(boost::shared_ptr<std::basic_istream<char, std::char_traits<char> > >*) const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:973; LOGGED FROM: void<unnamed>::ensureLang() /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:2764
02 Apr 2015 01:42:18 [rsession-jdm] ERROR system error 2 (No such file or directory) [path=/etc/locale.conf]; OCCURRED AT: core::Error core::FilePath::open_r(boost::shared_ptr<std::basic_istream<char, std::char_traits<char> > >*) const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:973; LOGGED FROM: void<unnamed>::ensureLang() /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:2764
02 Apr 2015 01:42:18 [rsession-jdm] ERROR system error 2 (No such file or directory) [path=/etc/sysconfig/language]; OCCURRED AT: core::Error core::FilePath::open_r(boost::shared_ptr<std::basic_istream<char, std::char_traits<char> > >*) const /home/ubuntu/rstudio/src/cpp/core/FilePath.cpp:973; LOGGED FROM: void<unnamed>::ensureLang() /home/ubuntu/rstudio/src/cpp/session/SessionMain.cpp:2764
Error reading /etc/rstudio/rsession.conf: unrecognised option 'rsession-which-r'
R 在 CLI 上运行良好,我可以看到它正在运行,它实际上并没有连接到 R。rstudio-server
我也尝试过添加此选项而不是rserver.conf
rsession.conf
答:
2赞
Dylan
10/6/2016
#1
它需要在 rserver.conf 文件中设置,而不是在 rsession.conf 文件中设置。更改后,重新启动 rstudio-server 服务,您应该可以开始了。
评论