I've been experimenting with rpy for a few weeks now and it definitely seems that you are encountering a problem that can be fixed by putting the full path to your R executables in your PATH. Also another fix may be setting the R_HOME environment variable to the full path to the R-2.x.y directory.
Toby -----Original Message----- From: Alain Leblanc [mailto:[EMAIL PROTECTED] Sent: Monday, September 25, 2006 6:29 AM To: RPy help, support and design discussion list Subject: Re: [Rpy] R-2.2.1 invocation error on WindowsXP Do you have C:\Program Files\R\R-2.2.1\bin in your WindowsXP PATH environment variable? It's the only thing I can think of right now. a 2006/9/25, [EMAIL PROTECTED] <[EMAIL PROTECTED]>: > > > Hi, > > Python 2.4 is unable to load the R.dll (with both rpi0.99 and rpy1.0)! > So, if I try to invoke R from pythonwin, LoadLibrary(Rlib) return an error : > > >>> from rpy import * > RHOME= C:\Program Files\R\R-2.2.1 > RVERSION= 2.2.1 > RVER= 2021 > RUSER= C:\Documents and Settings\Mathieu > Loading the R DLL C:\Program Files\R\R-2.2.1\bin\R.dll ..Traceback (most recent > call last): > File "<interactive input>", line 1, in ? > File "C:\Python24\Lib\site-packages\rpy.py", line 98, in ? > win32api.LoadLibrary( Rlib ) > error: (126, 'LoadLibrary', 'Le module sp\xe9cifi\xe9 est introuvable.') > >>> > > Actually, LoadLibrary() return the same error with other randomly find > ''xxxx.dl' , but is successfull with 'pythoncom24.dll'. > Does it make sense? > > Is anybody knows an explanation, or better, a solution, at least for R.dll ? > Thanks a lot > Mathieu > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys -- and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > rpy-list mailing list > rpy-list@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rpy-list > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ rpy-list mailing list rpy-list@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rpy-list