Unfortunately,  I'm having the same issue as Mathieu.  I'm using: R 2.3.1,
python 2.4.4c1, numpy-1.0rc3.win32-py2.4, Numeric-24.2.win32-py2.4 and
pywin32-210.win32-py2.4.

In IDLE,

Python 2.4.4c1 (#70, Oct 11 2006, 10:59:14) [MSC v.1310 32 bit (Intel)] on
win32
Type "copyright", "credits" or "license()" for more information.

...

IDLE 1.1.4c1
>>> import rpy
RHOME= C:\Program Files\R\R-2.3.1
RVERSION= 2.3.1
RVER= 2031
RUSER= C:\Documents and Settings\dbandler
Loading the R DLL C:\Program Files\R\R-2.3.1\bin\R.dll ..

Traceback (most recent call last):
  File "<pyshell#0>", line 1, in -toplevel-
    import rpy
  File "C:\Python24\lib\site-packages\rpy.py", line 99, in -toplevel-
    win32api.LoadLibrary( Rlib )
error: (126, 'LoadLibrary', 'The specified module could not be found.')

And if I import win32api,

>>> win32api.LoadLibrary('C:\\Program Files\\R\\R-2.3.1\\bin\\R.dll')

Traceback (most recent call last):
  File "<pyshell#4>", line 1, in -toplevel-
    win32api.LoadLibrary('C:\\Program Files\\R\\R-2.3.1\\bin\\R.dll')
error: (126, 'LoadLibrary', 'The specified module could not be found.')

The R.dll is in the location referenced above.  I tried it with single
slashes and the result was the same.

Any assistance would be greatly appreciated.  I've used Rpy in the past
and have come to depend on it heavily, so this is pretty important to me.

Thanks.

Derek



Date: Mon, 25 Sep 2006 12:19:12 +0200
From: [EMAIL PROTECTED]
Subject: [Rpy] R-2.2.1 invocation error on WindowsXP
To: rpy-list@lists.sourceforge.net
Message-ID: <[EMAIL PROTECTED]>
Content-Type: text/plain; charset=ISO-8859-1



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




-------------------------------------------------------------------------
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

Reply via email to