[R] Unable to load lapack.dll when using RExcel add-in

Roger Bivand Roger.Bivand at nhh.no
Sat May 17 11:13:41 CEST 2003


On Sat, 17 May 2003, Tony Mackenzie wrote:

>  Thank you for your help. LINPACK will be fine for my use with RExcel.
> How do I join the the "Rcom" special interest list?

The link is from: http://cran.r-project.org/contrib/extra/dcom/ReadMe.txt

a long way down, to: 

http://mailman.csd.univie.ac.at/mailman/listinfo/rcom-l

Sorry, I should have added this to my reply.

Roger

>  
> Regards,
> Tony MacKenzie
>  
> 
> 	-----Original Message----- 
> 	From: Roger Bivand [mailto:Roger.Bivand at nhh.no] 
> 	Sent: Fri 16/05/2003 4:51 PM 
> 	To: Tony Mackenzie 
> 	Cc: r-help at stat.math.ethz.ch 
> 	Subject: Re: [R] Unable to load lapack.dll when using RExcel add-in
> 	
> 	
> 
> 	On Fri, 16 May 2003, Tony Mackenzie wrote:
> 	
> 	> I am having trouble using R routines from the RExcel add-in, that use lapack.dll. As an example if I start the R kernel from within Excel and execute
> 	> 
> 	> "x<-rbind(c(1,2),c(1,-1))
> 	>  z<-solve(x)",
> 	> I get the following error:
> 	> 
> 	> "Error in solve.default(x): lapack routines could not be loaded.
> 	> In addition: Warning message:
> 	> unable to load shared library "C:\Program Files\R\rw1070/modules/lapack.dll";
> 	> Load library failure. The specified module could not be found."
> 	> 
> 	> I have the file lapack.dll in the correct directory. I am not sure why the forward slash "/" characters are not  back slash's "\" in this error message. However, I do not know if this is important.
> 	> 
> 	> I have installed R 1.7.0 on my system running windows 2000 and I have installed RExcel 1.0 with RDCOM server 1.2. Any help would be appreciated. I think the RExcel add-in is fantastic and I would like to be able to use the lapack.dll routines.
> 	> 
> 	
> 	For the time being, do: solve(..., LINPACK=TRUE)
> 	
> 	This uses the older, built-in functions rather than lapack.dll. I believe
> 	a patch has been made to the R windows release, but we'll have to wait
> 	until 1.7.1, perhaps, for the path to work correctly.
> 	
> 	This has been discussed several times on the "Rcom" special interest list,
> 	which is certainly worth joining for users of the software.
> 	
> 	--
> 	Roger Bivand
> 	Economic Geography Section, Department of Economics, Norwegian School of
> 	Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
> 	Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
> 	e-mail: Roger.Bivand at nhh.no
> 	
> 	
> 	
> 
> 

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no




More information about the R-help mailing list