Matrix package will not loead
You will find the problem and solution in the list archives. The current version of Matrix can be installed *from source* on R (>= 2.15.0), as it claims. But if you install it on R >= 2.15.2 then it uses features of 2.15.2 and hence can only be run on R >= 2.15.2. And there was a warning about this ....
On 13/11/2012 12:38, Duncan Murdoch wrote:
On 12-11-13 7:06 AM, Uzuner, Tolga I wrote:
Dear Fellow R Users, I am having a problem with the Matrix package, in Windows XP on R 2.15.1 . This is the only package where I experience this. I remove the package first, re install, and then when trying to load, get a LoadLibrary failure as below.
I've just installed a binary copy of Matrix 1.0-10 in R 2.15.2 patched, and I get an error too on attaching it: "The procedure entry point Rf_copyListMatrix could not be located in the dynamic link library R.dll." I'm pretty sure that procedure is available in R.dll currently, so I don't know what the real problem is.
The issue is if it is exported from R.dll, which only happened just before 2.15.2. Works for me with the Matrix binary package on the CRAN master and both 2.15.2 and the current R-patched (which in any case contains that version).
I have just rebuilt R, and the same package works fine. So I'd suggest that you download the latest R-patched from CRAN, and hopefully things will be fine. Duncan Murdoch
Thanks in advance for any assistance. Regards, Tolga
remove.packages("Matrix")
Removing package(s) from 'H:/R/win-library/2.15' (as 'lib' is unspecified)
install.packages("Matrix")
Installing package(s) into 'H:/R/win-library/2.15' (as 'lib' is unspecified) trying URL 'http://cran.ma.imperial.ac.uk/bin/windows/contrib/2.15/Matrix_1.0-10.zip' Content type 'application/zip' length 3289545 bytes (3.1 Mb) opened URL downloaded 3.1 Mb package 'Matrix' successfully unpacked and MD5 sums checked The downloaded binary packages are in C:\Data\N048564\temp\RtmpoDC7HF\downloaded_packages
library("Matrix")
Error in inDL(x, as.logical(local), as.logical(now), ...) : unable to load shared object 'H:/R/win-library/2.15/Matrix/libs/i386/Matrix.dll': LoadLibrary failure: The specified procedure could not be found. In addition: Warning message: package 'Matrix' was built under R version 2.15.2 Error: package/namespace load failed for 'Matrix'
This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at http://www.jpmorgan.com/pages/disclosures/email. [[alternative HTML version deleted]]
______________________________________________ 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.
______________________________________________ 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