Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to point rpy2 to existing R installation?

Tags:

r

rpy2

I have two installations of R. Is there a way to explicitly point rpy2 to one of these?

like image 557
vdesai Avatar asked Nov 01 '22 14:11

vdesai


1 Answers

I believe @phonixor is right. rpy2 uses the R it finds in the path. If you want to change that, change your path.

PATH=/path/to/r/bin:$PATH
like image 135
mattexx Avatar answered Nov 08 '22 05:11

mattexx