Wouldn't the working dir in which the process is running matter ?

Using an absolute path might be indicated.


L.



Rajarshi Guha wrote:
> 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
> 
> 
> ------------------------------------------------------------------------
> 
> ------------------------------------------------------------------------------
> 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


------------------------------------------------------------------------------
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