我在/tmp/R-3.0.0中编译了R,然后将它移动到/home/user/opt/R-3.0.0,然后执行R时出现错误:
/home/kaiyin/opt/R-3.0.0/bin/R: line 236: /tmp/R-3.0.0/etc/ldpaths: No such file or directory
ERROR: R_HOME ('/tmp/R-3.0.0') not found
如果我导出 R_HOME='/home/kaiyin/opt/R-3.0.0',它仍然给出几乎相同的错误:
WARNING: ignoring environment value of R_HOME
/home/kaiyin/opt/R-3.0.0/bin/R: line 236: /tmp/R-3.0.0/etc/ldpaths: No such file or directory
ERROR: R_HOME ('/tmp/R-3.0.0') not found
有没有办法解决这个问题,还是我必须重新编译它?