Hi, I'm using rpy2 (2.0.1) in a mod_python script. Various rpy2  
methods work fine but when I try to call R's "load" command I get  
RRunTime error saying that a connection cannot be opened. An example  
can be seen at

http://rguha.ath.cx/~rguha/cicc/rest/predict/YzFjY2NjYzFDT0ND

Using

import rpy2.robjects as ro
rinter = ro.r
rinterp("""load('test-model.Rda')""")

on the Python command line works fine, so I suspect it might be a  
mod_python problem. Has anybody faced this before and gotten a  
solution/workaround?

Thanks,

My set up is:

R 2.7.2
Python 2.4 (and 2.5)
mod_python 3.3.1
apache 2.2.11


-------------------------------------------------------------------
Rajarshi Guha  <rg...@indiana.edu>
GPG Fingerprint: D070 5427 CC5B 7938 929C  DD13 66A1 922C 51E7 9E84
-------------------------------------------------------------------
Psychology is merely producing habits out of rats.



------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to