On 13/11/2012 13:28, Uzuner, Tolga I wrote:
Many thanks for your advice and assistance.

Sadly, I am unable to install "from source" as my operating environment does 
not have Rtools or a compiler.

Is there an old version compiled somewhere I can use ?

Yes, in your 2.15.1 installation. Since you seem to be installing into a personal library, I expect that if you delete Matrix from H:/R/win-library/2.15 you will get the originally installed one in .Library.

And if you updated .Library, simply re-install R 2.15.1.

However, the posting guide asked you to update before posting, and that is the nature of the Open Source contract: help which is available is only for the current version since that is always freely available. If you want to use binary packages, we only supply those for current and future versions of R, and at CRAN's discretion for the final member of the last series (currently 2.14.2).




install.packages("H:\\Downloads\\Matrix_1.0-10.tar.gz", repos = NULL, 
type="source")
Installing package(s) into 'H:/R/win-library/2.15'
(as 'lib' is unspecified)
* installing *source* package 'Matrix' ...
** package 'Matrix' successfully unpacked and MD5 sums checked
** libs
ERROR: compilation failed for package 'Matrix'
* removing 'H:/R/win-library/2.15/Matrix'
Warning messages:
1: running command 'C:/PROGRA~1/R/R-215~1.1/bin/i386/R CMD INSTALL -l 
"H:/R/win-library/2.15"   "H:/Downloads/Matrix_1.0-10.tar.gz"' had status 1
2: In install.packages("H:\\Downloads\\Matrix_1.0-10.tar.gz", repos = NULL,  :
   installation of package 'H:/Downloads/Matrix_1.0-10.tar.gz' had non-zero 
exit status
install.packages("Matrix", type="source")
Installing package(s) into 'H:/R/win-library/2.15'
(as 'lib' is unspecified)
--- Please select a CRAN mirror for use in this session ---
trying URL 'http://cran.ma.imperial.ac.uk/src/contrib/Matrix_1.0-9.tar.gz'
Error in download.file(url, destfile, method, mode = "wb", ...) :
   cannot open URL 
'http://cran.ma.imperial.ac.uk/src/contrib/Matrix_1.0-9.tar.gz'
In addition: Warning message:
In download.file(url, destfile, method, mode = "wb", ...) :
   cannot open: HTTP status was '404 Not Found'
Warning in download.packages(pkgs, destdir = tmpd, available = available,  :


-----Original Message-----
From: Prof Brian Ripley [mailto:rip...@stats.ox.ac.uk]
Sent: 13 November 2012 13:03
To: Duncan Murdoch
Cc: Uzuner, Tolga I; r-help@r-project.org
Subject: Re: [R] 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@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@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,                  rip...@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

______________________________________________
R-help@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.

Reply via email to