[R] error when installing Matrix

Dirk Eddelbuettel edd at debian.org
Mon Jun 20 05:30:06 CEST 2005


On 19 June 2005 at 22:18, Dirk Eddelbuettel wrote:
| 
| On 20 June 2005 at 10:07, ronggui wrote:
| | OS:debian linux
| | # R CMD INSTALL /home/ronggui/Matrix_0.96-3.tar.gz 
| | 
| | .........
| | s-3  -L/usr/lib/R/lib -lR
| | /usr/bin/ld: cannot find -lblas-3
| | collect2: ld returned 1 exit status
| | 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'
| | 
| | what have i missed?thank you!
| 
| $ apt-get install r-base-dev
| 
| r-base-dev is an 'almost virtual' package with depends that will be satisfied
| by either the refblas or any of the atlas-* (cpu-specific) optimised
| libraries.  You are lacking these.

Oh, and of course also for the Matrix package thanks to Doug's Debian
package:

$ apt-get install r-cran-matrix

Hope this helps, Dirk

-- 
Statistics: The (futile) attempt to offer certainty about uncertainty.
         -- Roger Koenker, 'Dictionary of Received Ideas of Statistics'




More information about the R-help mailing list