[R] Problem of installing Matrix

ronggui ronggui.huang at gmail.com
Sat Jun 7 02:12:05 CEST 2008


[wincent at PC-BSD]export MAKE=gmake
[wincent at PC-BSD]sudo R
.....
> install.packages("Matrix")
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
trying URL 'http://bibs.snu.ac.kr/R/src/contrib/Matrix_0.999375-9.tar.gz'
Content type 'application/x-gzip' length 1483674 bytes (1.4 Mb)
opened URL
==================================================
downloaded 1.4 Mb

/usr/local/lib/R/library
* Installing *source* package 'Matrix' ...
** libs
** arch -
"Makefile", line 8: Need an operator
"Makefile", line 13: Need an operator
"Makefile", line 16: Need an operator
"Makefile", line 27: Need an operator
"Makefile", line 29: Need an operator
"Makefile", line 31: Need an operator
make: fatal errors encountered -- cannot continue
ERROR: compilation failed for package 'Matrix'
** Removing '/usr/local/lib/R/library/Matrix'

The downloaded packages are in
	/tmp/Rtmpq3enyj/downloaded_packages
Updating HTML index of packages in '.Library'
Warning message:
In install.packages("Matrix") :
  installation of package 'Matrix' had non-zero exit status
>

> sessionInfo()
R version 2.6.1 (2007-11-26)
i386-portbld-freebsd7.0

locale:
zh_CN.eucCN/zh_CN.eucCN/C/C/C/C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] rcompgen_0.1-17 tcltk_2.6.1     tools_2.6.1

> R.version
               _
platform       i386-portbld-freebsd7.0
arch           i386
os             freebsd7.0
system         i386, freebsd7.0
status
major          2
minor          6.1
year           2007
month          11
day            26
svn rev        43537
language       R
version.string R version 2.6.1 (2007-11-26)

-- 
HUANG Ronggui, Wincent http://ronggui.huang.googlepages.com/
Bachelor of Social Work, Fudan University, China
Master of sociology, Fudan University, China
Ph.D. Candidate, CityU of HK.



More information about the R-help mailing list