Ok, first, on windows, rpy attempts to add the necessary locations to the PATH environment variable so that DLLs are properly found. If the new version doesn't solve the problem, a work-around is to manually set up the path before starting python (or from within python) so that the directory where the DLL is located is included in the path.

-G


if the new version fixes the problem,

Your problem is that R can't find your LAPACK library.

Could it be that your use of forward slashes instead of backslashes here is confusing windows?? Try to use backslashes instead and see what happens.

 'C:\Program Files\R\R-2.6.1/modules//lapack.dll':
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:rpy-list- [EMAIL PROTECTED] Behalf Of I. Soumpasis
Sent: Thursday, November 29, 2007 11:02 AM
To: RPy help, support and design discussion list
Subject: Re: [Rpy] RPy & Windows install and import problems



2007/11/29, I. Soumpasis <[EMAIL PROTECTED]>:
2007/11/29, Gregory R. Warnes <[EMAIL PROTECTED]>:

Hi All,

Somehow I missed the removal of the 'xstr(...)' when I generated the source for 1.0.0. I've committed the appropriate change to svn, and have built a Windows binary installer for rpy, which I will post once I've run through the tests to ensure that everything else is happy...

Hi All,

I downloaded from svn and compiled with mingw32. I have written a small application which I run on linux but I get the following error under windows:
In solve.default(res$hessian) :
unable to load shared library 'C:\Program Files\R\R-2.6.1/ modules//lapack.dll':
  LoadLibrary failure:  The specified module could not be found.
.
.
.
RPy_RException: Error in solve.default(res$hessian) : lapack routines cannot be loaded

Is it something to be corrected with the rpy or another problem? i have ste same script in R and works fine. lapack.dll is there.


I collected some info. The problem comes out trying to use from MASS package the fitdistr function to fit an array to a weibull distribution.

Kind Regards,
Ilias


-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper
from Novell.  From the desktop to the data center, Linux is going
mainstream.  Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to