Moving directory after compilation of R

Posted by CravingSpirit on Stack Overflow See other posts from Stack Overflow or by CravingSpirit
Published on 2013-06-25T16:14:56Z Indexed on 2013/06/25 16:21 UTC
Read the original article Hit count: 162

Filed under:
|

I compiled R in /tmp/R-3.0.0 and then moved it to /home/user/opt/R-3.0.0, then I got an error when executing 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

If I export R_HOME='/home/kaiyin/opt/R-3.0.0', it still gives almost the same error:

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

Is there a way to solve this, or do I have to recompile it?

© Stack Overflow or respective owner

Related posts about r

    Related posts about compilation