install.packages and MacOS 10.3.8
Dear Listers, I am trying to install packages via install.packages() from MacOS 10.3.8. Installing work fine when run from the menu, but the following command (useful for setting up each computer of the student computer room) leads nowhere for some reasons:
pack<-c("ade4","adehabitat","geoR","gstat","KernSmooth","lattice","leaps")
install.packages(pack,dependencies=T)
trying URL `http://cran.r-project.org/src/contrib/PACKAGES' Content type `text/plain; charset=iso-8859-1' length 51500 bytes opened URL ================================================== downloaded 50Kb also installing the dependencies 'SparseM', 'gee', 'waveslim', 'splancs', 'maptools', 'spdep', 'pixmap', 'ape', 'tripack' trying URL `http://cran.r-project.org/src/contrib/SparseM_0.60.tar.gz' Content type `application/x-tar' length 1064262 bytes opened URL ================================================== downloaded 1039Kb trying URL `http://cran.r-project.org/src/contrib/gee_4.13-10.tar.gz' Content type `application/x-tar' length 49586 bytes opened URL ================================================== downloaded 48Kb trying URL `http://cran.r-project.org/src/contrib/waveslim_1.4.tar.gz' Content type `application/x-tar' length 358305 bytes opened URL ================================================== (etc....) * Installing *source* package 'SparseM' ... ** libs /Library/Frameworks/R.framework/Resources/bin/SHLIB: line 1: make: command not found ERROR: compilation failed for package 'SparseM' * Installing *source* package 'gee' ... ** libs /Library/Frameworks/R.framework/Resources/bin/SHLIB: line 1: make: command not found ERROR: compilation failed for package 'gee' etc... Can anybody tell me what goes wrong with this command (which usually work without any problem with R 2.0.1 and Windows XP). Thanks in advance, Patrick