[Rpy] problem loading the "mgcv" package

2006-12-06 Thread Christian Jauvin
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

[Rpy] problem loading the "spatstat" package (new version..)

2006-12-06 Thread Christian Jauvin
(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

Re: [Rpy] problem loading the "spatstat" package (new version..)

2006-12-06 Thread Peter (RPy List)
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

Re: [Rpy] problem loading the "spatstat" package (new version..)

2006-12-06 Thread Christian Jauvin
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