Re: [Rpy] Using rpy2 with lib-apache2-mod-python

2008-10-21 Thread laurent
On Mon, 2008-10-20 at 21:12 -0700, Eric Bell wrote: > Resolved ... or a least made to go away. > > It appears that the problem was caused in part due to loading another > apache module supplied by R/Apache, as described at > http://biostat.mc.vanderbilt.edu/rapache/ "R/Apache is a project > dedi

Re: [Rpy] Using rpy2 with lib-apache2-mod-python

2008-10-20 Thread Eric Bell
Resolved ... or a least made to go away. It appears that the problem was caused in part due to loading another apache module supplied by R/Apache, as described at http://biostat.mc.vanderbilt.edu/rapache/ "R/Apache is a project dedicated to embedding the R interpreter inside the Apache 2.0 (and be

Re: [Rpy] Using rpy2 with lib-apache2-mod-python

2008-10-20 Thread Eric Bell
I performed the unit testing and here are my results: Note: Software Versions: R 2.7.2 Python 2.5.1 $ python Python 2.5.1 (r251:54863, Jul 31 2008, 23:17:40) [GCC 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more informa

Re: [Rpy] Using rpy2 with lib-apache2-mod-python

2008-10-20 Thread Eric Bell
No change in behavior. I've simplifed my python script and added the import rpy2.rinterface as instructed. I've stopped and started the apache server as appropriate voodoo. Seems to me if I can't execute the library() call then it makes sense that R functionality in the non-base libraries won't be

Re: [Rpy] Using rpy2 with lib-apache2-mod-python

2008-10-20 Thread laurent
On Mon, 2008-10-20 at 12:39 -0700, Eric Bell wrote: > No change in behavior. I've simplifed my python script and added the > import rpy2.rinterface as instructed. I've stopped and started the > apache server as appropriate voodoo. No change was expected: '--verbose' instructs R to tell a bit mor

Re: [Rpy] Using rpy2 with lib-apache2-mod-python

2008-10-20 Thread laurent
On Mon, 2008-10-20 at 09:55 -0700, Eric Bell wrote: > I want to be able to call R from python scripts that are being executed > via lib-apache2-mod-python. Should this be doable? In theory, yes. It might have limited testing, still. > My python script can access some R functionality but it is v