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

Tony Mackenzie mackenzi at usq.edu.au
Fri May 16 01:31:51 CEST 2003

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
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.
Tony MacKenzie

More information about the R-help mailing list