Menu

#107 R needs to be on windows path

open
nobody
5
2012-07-18
2008-08-28
Anonymous
No

I just updated my R and Rpy installation on WindowsXP with

rpy-1.0.3-R-2.7.0-win32-py2.4.exe
R-2.7.0-win32.exe
Note: I did not uninstall my previous version of R, and I did not reboot.

When I ran a ols linear estimation from within IDLE, (example from scipy cookbook), I got an exception, that R did not find
C:\Program Files\R\R-2.7.0\modules\lapack.dll

the last path separator was //, i.e. modules//lapack.dll

Running R directly did not raise any errors.

I finally figured out that I have to put the dll paths in the Windows paths (actually I still had the old R directory on my windows path. Now everything seems to work fine. I had assumed that an exe install file will do a complete install, so maybe a warning that the dll directories of R (or at least the R/bin) need to be on the path would be helpful.

Two more comments:

The rpy files are installed directly in sitepackages and not in a subdirectory of it. I would prefer if it were in a subdirectory to keep module names and individual files belonging to a module separated.

When deciding which version of R to upgrade to, I assumed that rpy-1.0.3-R-2.7.0-win32-py2.4.exe
only works for R-2.7.0 and not for R-2.7.2. If it also works with the newer version, then a note on the webpage would be useful.

This is just a quick feedback it is not really a bug, since everything seems to work fine.

Thanks,
Josef

Discussion

Anonymous
Anonymous

Add attachments
Cancel