我正在努力rstudio-server
连接到rsession
Debian 上的 R ( )。
我以非 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 上运行良好,我可以看到它rstudio-server
正在运行,但它实际上并没有连接到 R。
我也尝试过添加这个选项rserver.conf
而不是rsession.conf