Re: [R] installation error

From: Douglas Bates <dmbates_at_gmail.com>
Date: Thu 30 Jun 2005 - 23:13:07 EST

On 6/30/05, orkun <temiz@deprem.gov.tr> wrote:
> hello
>
> when I follow this procedure:
> ~~~~~~~~~~
> rS <- "http://godel.cs.bilgi.edu.tr/mirror/cran/src/contrib/"
> install.packages(c("Matrix"), repos=rS, dependencies=TRUE)
> ~~~~~~~~~~
>
> installation gives this error:
> ~~~~~~~~~~~~~
> make: *** [Matrix.so] Error 1
> ERROR: compilation failed for package 'Matrix'
> ** Removing '/usr/local/lib/R/site-library/Matrix'
> ** Restoring previous '/usr/local/lib/R/site-library/Matrix'
>
> The downloaded packages are in
> /tmp/RtmpPx5hkE/downloaded_packages
> Warning message:
> installation of package 'Matrix' had non-zero exit status in:
> install.packages(c("Matrix"), repos = rS, dependencies = TRUE)
> ~~~~~~~~~~
> I am using debian and had installed R in debian way.
>
> what might possible solutions be ?

Check that you have the Debian package r-base-dev installed. This is a virtual package whose installation ensures that you have the necessary tools installed so that you can compile R packages.

Alternatively, you could install the precompiled Debian package r-cran-matrix



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Thu Jun 30 23:16:41 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:07 EST