Hi Tom, It may be that your registry got corrupted. I'll try to figure out what rpy is looking for so you can compare with what you have. In the meantime you could try setting the R_HOME environment variable in windows. Set it to the root directory of your R installation, something like C:\Program Files\R\R-2.2.1.
I just reinstalled everything from scratch on my windows box: Python 2.4.3, R 2.2.1 and rpy-0.99.2 and everything is working fine. Don't use rpy-1.0-RC1 for now. It seems like it has some issues with versions of R which are earlier than 2.3 a 2006/8/13, Tom Conerly <[EMAIL PROTECTED]>: > I have tried reinstalling rebooting etc. I get the error with python 2.4.3 > and R 2.2.1 and I am using the latest version of RPY for windows. Error: > > >>> import rpy > Unable to determine R version from the registry. Trying another method. > > Traceback (most recent call last): > File "<pyshell#0>", line 1, in -toplevel- > import rpy > File "C:\Python24\Lib\site-packages\rpy.py", line 48, in > -toplevel- > RHOME = rpy_tools.get_R_HOME() > File "C:\Python24\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 > >>> > > When I installed R I checked the add R version to registry box. Can anyone > help me out? > > ------------------------------------------------------------------------- > Using Tomcat but need to do more? Need to support web services, security? > Get stuff done quickly with pre-integrated technology to make your job > easier > Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > > _______________________________________________ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list > > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list