Hello, I am having difficulty using rpy2 to load the RandomFields library.
What is perplexing is that the MASS and spatial libraries both load, but
when I try to load RandomFields, I get the following error message:
*Error in inDL(x, as.logical(local), as.logical(now), ...) :
unable to load shared library
'C:/Workspace/R-2.8.1/library/RandomFields/libs/RandomFields.dll':
LoadLibrary failure: The specified module could not be found.
Error: package/namespace load failed for 'RandomFields'
*
Here is the code snippet I am using:
*
import rpy2
import rpy2.robjects as robjects
r = robjects.r
r('library("MASS")')
r('library("spatial")')
r('library("RandomFields")')*
Per the rpy2 FAQ, Imade sure that the bin folder for R was included in the
environment variable list, and I included the libs folder for RandomFields
for good measure, and it still is not seeing the dll. I am truly stumped by
this.
I am using R 2.8.1, using Python 2.5, and RandomFields version on a Windows
XP box with an Intel processor.
I appreciate any help.
--
Isaac Grenfell
Statistician
Systems for Environmental Management
(406) 542 5424
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list