i think

rinterp("""load('test-model.Rda')""")

should be like this:

rinter("""load('test-model.Rdata')""")

worked in win.

On 1/14/09, Rajarshi Guha <rajarshi.g...@gmail.com> 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
>


-- 
Regards,
Volkan Osman Kepoglu
PhD Candidate
GGIT Department in METU,
Ankara, Turkey.

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