[Rpy] how to set the RHOME before import rpy?

2014-09-25 Thread Qunawei Zhang
Hello: I am trying to set up a tool on a web server. Since there are different versions of R, I want to specify it before I import rpy2. I found the following commands from the previous discussion. But it returns me "ImportError: No module named rpy_options". Anyone knows the problem? from rpy_o

[Rpy] question about errors for a web tool using rpy2

2014-09-25 Thread Qunawei Zhang
Hello: I developed a web tool using CGI, python and apache. The CGI file was written by python, and it calls R functions through rpy2. The web tool works well on my personal computer. Then we are trying to set it up on the server (System: CentOS release 5.7). Since the version of python and R were