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: Traceback (most recent call last): File "C:/ms4w/apps/prototype/htdocs/toto.py", line 11, in ? r("library(spatstat)") File "c:\python24\lib\site-packages\rpy.py", line 298, in __call__ return self.eval(self.parse(text=s)) RException: Error: package 'mgcv' could not be loaded If I set show_error_messages to 1 in rpy.py, I can also see this message: Loading required package: mgcv Error in dyn.load(x, as.logical(local), as.logical(now)) : unable to load shared library 'C:/Program Files/R/R-2.3.1/library/mgcv/libs/mgcv.dll': LoadLibrary failure: The specified module could not be found. Error: package 'mgcv' could not be loaded This dll however exists at this exact place on the disk, and I can load it from the R command line... And I can load without problem other libraries using the same method as well. I am completely stuck with this one, anyone can help? Thanks! Christian ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list