[R] Problem with loading package Matrix

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Apr 10 21:00:12 CEST 2008


What OS is that?

If it is Windows 2000, try copying Rblas.dll to Rblas in the bin folder.
(We have no idea why that might be needed, but it has worked for some 
people -- others have no problem even with Windows 2000.)

On Thu, 10 Apr 2008, Peter H Singleton wrote:

>
> Hello,
>
> I recently upgraded from R 2.6.1 to 2.6.2. I uninstalled 2.6.1, installed
> 2.6.2, and installed the packages I regularly use. Everyting seems to be
> running properly, including most of the packages, but when I try to call
> the Matrix package, I get the following error:
>
>> require(Matrix)
> Loading required package: Matrix
> Error in dyn.load(file, ...) :
>  unable to load shared library
> 'C:/PROGRA~1/R/R-26~1.2/library/Matrix/libs/Matrix.dll':
>  LoadLibrary failure:  The specified module could not be found.
>
> This is preceded by a pop-up window with:
> R Console: Rgui.exe - Unable To Locate DLL
> The dynamic link library Rblas could not be found in the specified path ...
>
> I've looked in the specified folder and the Matrix.dll file is there. I've
> also tried installing the Matrix package from another CRAN repository, but
> I'm still getting the error.
>
> Any suggestions?
>
> <<->><<->><<->><<->><<->><<->><<->>
> Peter Singleton
> USFS Pacific Northwest Research Station
> 1133 N. Western Ave.
> Wenatchee WA 98801
> Phone: (509)664-1732
> Fax: (509)665-8362
> E-mail: psingleton at fs.fed.us
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-help mailing list