H Nesse wrote:
> Howdy, I ran into a rather odd problem installing rpy
> on one computer (I have used it to great success on
> another).  Every time I try and import rpy (in IDLE or
> command line) I get the message "Unable to determine R
> version from the registry. Trying another method." 
> This is then followed by a usual python error message:
> 
> Traceback (most recent call last):
>   File "<pyshell#0>", line 1, in <module>
>     from rpy import *
>   File "C:\Python25\Lib\site-packages\rpy.py", line
> 53, in <module>
>     RHOME = rpy_tools.get_R_HOME()
>   File "C:\Python25\lib\site-packages\rpy_tools.py",
> line 58, in get_R_HOME
>     raise RuntimeExecError("Couldn't execute the R
> interpreter.\n"
> NameError: global name 'RuntimeExecError' is not
> defined
> 
> I've tried reintalling python (2.5.1), and R (first
> used 2.2.1(?), changed to 2.6.1 on reinstall), with no
> luck.  The computer is older DELL laptop running
> windows XP.  Any ideas on what might be going amiss,
> and what to do to fix it?  
> 
> Many thanks,
> 
> -Hans Nesse
> 
> 

Try setting a system or user variable for R_HOME that points to your 
installed version of R. I can't remember if it needs the path where the 
exe is or the path including the exe.

Some computers just don't setup the paths or registry right on install.
Alex

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to