On Sun, May 12, 2013 at 8:30 AM, Terry Tan <terry2....@gmail.com> wrote:
> I am just frustrated when I try to install rpy2 on my computer. I
> download rpy2-2.3.6.win32-py2.7.exe and use it to install. but when i test
> the tests.py , it give me that error:
>
> Traceback (most recent call last):
> File "C:\Users\tanhe\Desktop\rpy2-2.3.6\rpy\tests.py", line 2, in
> <module>
> import sys, rpy2.rinterface
> File "C:\Python27\lib\site-packages\rpy2\rinterface\__init__.py", line
> 90, 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-3.0.0\bin
>
> I am sure i copy all files in the bin\x64 to the bin file, so there are
> R.dll in the bin file. Now i don't know how to deal with it, so i ask you
> for help.
>
>
Terry,
Two things to think about:
1) Where did you get your rpy2 installer? If you got it here (
http://www.lfd.uci.edu/~gohlke/pythonlibs/#rpy2) you need to be using R
2.15. You appear to be using R 3.0.
2) Don't move any dll or executable after you install R 2.15. Instead
create the environment variables R_HOME and R_USER (with the appropriate
values).
Hope that helps,
-p
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list