Re: [Rpy] loading an Rda file via rpy2 under mod_python

2009-01-13 Thread Laurent Gautier
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

[Rpy] loading an Rda file via rpy2 under mod_python

2009-01-13 Thread Rajarshi Guha
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.ro