[R] installation error

Douglas Bates dmbates at gmail.com
Thu Jun 30 15:13:07 CEST 2005


On 6/30/05, orkun <temiz at 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




More information about the R-help mailing list