Hello,

 

I am experiencing a problem with these R packages as others have
mentioned in earlier posts.  I am trying to use spatstat in RPY - but
keep getting the following error:

 

Loading required package: mgcv

Traceback (most recent call last):

  File "C:\Apache\htdocs\pythonmodule\interpolation.py", line 19, in
<module>

    r("library(spatstat)")

  File "C:\Python25\Lib\site-packages\rpy.py", line 294, in __call__

    return self.eval(self.parse(text=s))

RException: Error: package 'mgcv' could not be loaded

 

As with Christian Jauvin (2006-12-06 15:11 2006-12-06 15:11), it loads
fine in R - no problems at all loading spatstat but I am using RPY and
mod_python for server-side statistical functions and it will not load
the mgcv package and therefore spatstat won't load.  Did anyone ever get
it load through a CGI or mod_python script?  This is the only package I
have ever had a problem with - I use ADS, spatial, akima, deldir,
tripack, splancs, and a few others and they work just fine.  I even
checked mgcv dependencies to see if I should load something else first
but nothing has worked so far.  

 

r("library(spatstat)") and r.library('spatstat') result in the same
error.  

 

I was thinking that there might be something that writes out as the user
and since it is running as the webuser account it cannot complete due to
permission problems but I haven't gotten anywhere with that idea.  Given
that all the other packages I use work without a problem it seems that
the mgcv package does something different or special.  So has anyone
been successful with this through RPY?

 

Thanks,

Jerry  

 

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to