Hi,
When I try to load the "spatstat" library through a RPy program:
from rpy import *
r("library(spatstat)")
it runs fine from the command line (loads flawlessly). However, when I
try to do the same from a Python CGI program (running through Apache
on Windows), I get this strange error:
Traceb
(Since it seems that my previous message was somehow incorrectly formatted,
here it is again, with minor revisions)
Hi,
When I try to load the "spatstat" library through a RPy program:
from rpy import *
r("library(spatstat)")
it runs fine from the command line (loads flawlessly). However, when
Hi Christian.
The "bad news" is that:
from rpy import *
r("library(spatstat)")
and:
from rpy import *
r.library("spatstat")
both work fine for me using Windows XP, R 2.4.0 and a freshly installed
spatstat 1.10-3 and mgcv 1.3-19, with Python 2.3 (all installed using
pre-compiled binaries) and
Hi Peter,
Thanks for the help!
> both work fine for me using Windows XP, R 2.4.0 and a freshly installed
But did you run the command through an Apache Python CGI like I did?
For me too the library loads flawlessly in a "normal" Python program,
or in the interpreter. It is only in the CGI process