I'm having a similar problem. It gives me this error
copying .\rpy\interactive\__init__.py ->
build\lib.win32-2.7\rpy2\interactive
creating build\lib.win32-2.7\rpy2\interactive\tests
copying .\rpy\interactive\tests\__init__.py ->
build\lib.win32-2.7\rpy2\interact
ive\tests
running build_ext
Error: Tried to guess R's HOME but no R command in the PATH.
What should the r home and r user variables be set to?
~H
On Wed, May 15, 2013 at 6:54 PM, Paul Hobson <pmhob...@gmail.com> wrote:
>
> 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
>
>
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite
It's a free troubleshooting tool designed for production
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap2
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list