Brian,

When you installed R, did you configure it with the option 
'--with-lapack'? Also, (I'm not sure about it but) if you re-install R, 
you might need to re-install rpy as well.

Hana


Brian Miles wrote:
> On Oct 8, 2007, at 1:01 PM, [EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]> wrote:
> 
>> Date: Sun, 7 Oct 2007 09:38:16 -0400
>>
>> From: "Michael Boldin" <[EMAIL PROTECTED] 
>> <mailto:[EMAIL PROTECTED]>>
>>
>> Subject: [Rpy] Windows import rpy problems
>>
>> To: <rpy-list@lists.sourceforge.net 
>> <mailto:rpy-list@lists.sourceforge.net>>
>>
>> Message-ID: <[EMAIL PROTECTED]>
>>
>> Content-Type: text/plain; charset="us-ascii"
>>
>>
>> Different messages on this list point to the same basic problem-Python and
>>
>> RPY silently crashes when 'import rpy' is used in a Windows system.  This
>>
>> Windows RPY problem has two quick solutions (based on my experiments):
>>
>>
>>
>>
>> (1)     Use RPY RC2, which is the older release from December 2006.  You
>>
>> might want to stay with Python 2.4 since the NUMERIC and NUMPY 
>> installations
>>
>> seem to be easier with this version.  Note that only R 2.0 to 2.4.1 is
>>
>> supported with RC2.  I used the build named
>>
>> rpy-1.0-RC2.win32-R2.0.0-R-2.4.1-py2.4.exe
>>
>> <http://downloads.sourceforge.net/rpy/rpy-1.0-RC2.win32-R2.0.0-R-2.4.1-py2.4 
>> <http://downloads.sourceforge.net/rpy/rpy-1.0-RC2.win32-R2.0.0-R-2.4.1-py2.4.exe?use_mirror=superb-east>
>>
>> .exe?use_mirror=superb-east 
>> <http://downloads.sourceforge.net/rpy/rpy-1.0-RC2.win32-R2.0.0-R-2.4.1-py2.4.exe?use_mirror=superb-east>>
>>  
>>    
>>
>>
>>
>>
>> (2)     See the rpy-list posting by Manuzhai under  "Fixed the Win XP
>>
>> problem" that has a link to a new RPY build based on RC3.  This worked for
>>
>> me, but it is not an official RPY package.
>>
>>
> 
> I downloaded and installed Manuzhai's RC3 and it does indeed fix the 
> crashes on "import rpy".  However, I'm getting a fatal error on calls to 
> r.summary() for a linear model.  
> 
> The error manifests as a pop-up dialog from python.exe:
> 
> "This application has failed to start because Rlapack.dll was not found. 
>  Re-installing the application may fix this problem"
> 
> 
> There are more details provided on the console:
> 
>   File "C:\opusworkspace-svn\opus_core\estimate_linear_regression_r.py", 
> line 69
> , in run
>     summary = r.summary(fit)
> rpy.RException: Error in chol2inv(Qr$qr[p1, p1, drop = FALSE]) :
>         lapack routines cannot be loaded
> 
> 
> This same code works under Mac OS X.
> 
> I've tried uninstalling R, restarting, reinstalling R, and restarting, 
> but this makes no difference.  I am running R 2.5.1 and Python 2.5.1 
> under Windows XP 32-bit.
> 
> Is there an ETA for RC4?
> 
> Please let me know if I can help with testing.
> 
> Thanks,
> 
> Brian Miles
> Graduate Assistant
> Spatial Analysis Lab - Rubenstein School of Environment and Natural 
> Resources
> University of Vermont
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
rpy-list mailing list
rpy-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rpy-list

Reply via email to