[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

[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

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

2014-09-25 Thread Bill Jefferys
Quanwei, Are you aware that your email program is showing your name as 'Qunawei'? You might want to fix this. Best wishes, Bill Harlan J. Smith Centennial Professor of Astronomy (Emeritus) The University of Texas at Austin Adjunct Professor of Statistics The University of Vermont On Thu, Se