I know that other people have had similar issues, but I have not found a
solution that worked for me...

 

I am receiving the following error when trying to load rpy2 (2.0.8,
Windows XP) in Python 2.6.6 with "import rpy2.robjects as robjects":

 

Traceback (most recent call last):

  File "<pyshell#18>", line 1, in <module>

    import rpy2.robjects as robjects

  File "C:\Python26\lib\site-packages\rpy2\robjects\__init__.py", line
12, in <module>

    import rpy2.rinterface as rinterface

  File "C:\Python26\lib\site-packages\rpy2\rinterface\__init__.py", line
52, in <module>

    raise RuntimeError("Unable to locate R.dll within %s" % R_HOME)

RuntimeError: Unable to locate R.dll within C:\Program Files\R\R-2.12.0

 

 

R.dll is located at C:\Program Files\R\R-2.12.0\bin\i386\R.dll, and my
PATH includes C:\Program Files\R\R-2.12.0, C:\Program
Files\R\R-2.12.0\bin and C:\Program Files\R\R-2.12.0\bin\i386. I also
have the variable R_HOME defined as C:\Program Files\R\R-2.12.0, and
pywin32-214 is installed and working. Typing "R" at the command prompt
works, "R --version" works and returns the correct version, and "R
RHOME" returns C:\PROGA~1\R\R-2.12~1.0 (not sure why). By the way, I
rpy2 was installed using the current windows installer,
rpy2-2.0.8.win32-py2.6.msi. Thanks,

 

Benjamin

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to