How to specify R CMD exec directory?

爷,独闯天下 提交于 2019-12-03 05:30:30
wlk

In my case this was the fix (after installing Rserve):

cd /usr/lib/R/bin
ln -s /usr/lib/R/site-library/Rserve/libs/Rserve Rserve

This fixed the problem on Ubuntu 14.04 (LTS)

R library location may vary, actual path to Rserve can be checked from R:

system.file("libs", "Rserve", package="Rserve")
Kartikey Tanna

Commands to fix:

cd /usr/lib/R/bin/
ln -sf ../site-library/Rserve/libs/Rserv
ln -sf ../site-library/Rserve/libs/Rserve.db

While starting Rserve as a daemon process from terminal in ubuntu 16.04 I got the same issue.

Commands to fix.

apt-cache policy r-cran-rserve
sudo apt-get install r-cran-rserve
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!