[R] Problems installing Packages
Sven D
sduve at hotmail.com
Sun Jun 3 13:31:03 CEST 2012
Hello,
I am going through Zhao's RDataMining PDF, and to redo all the graphics on
my computer, I need several packages, 'coin' and 'party' to name two.
I get the following error:
> install.packages("coin")
Installing package(s) into ‘/home/sven/R/i686-pc-linux-gnu-library/2.15’
(as ‘lib’ is unspecified)
trying URL 'http://cran.ma.imperial.ac.uk/src/contrib/coin_1.0-21.tar.gz'
Content type 'application/x-gzip' length 903944 bytes (882 Kb)
opened URL
==================================================
downloaded 882 Kb
* installing *source* package ‘coin’ ...
** package ‘coin’ successfully unpacked and MD5 sums checked
** libs
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c
Classes.c -o Classes.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c
Helpers.c -o Helpers.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c
LinearStatistic.c -o LinearStatistic.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c
StreitbergRoehmel.c -o StreitbergRoehmel.o
gcc -std=gnu99 -I/usr/share/R/include -DNDEBUG -fpic -O3 -pipe -g -c
vandeWiel.c -o vandeWiel.o
gcc -std=gnu99 -shared -o coin.so Classes.o Helpers.o LinearStatistic.o
StreitbergRoehmel.o vandeWiel.o -lblas -lgfortran -lm -L/usr/lib/R/lib -lR
/usr/bin/ld: cannot find -lblas
collect2: ld returned 1 exit status
make: *** [coin.so] Error 1
ERROR: compilation failed for package ‘coin’
* removing ‘/home/sven/R/i686-pc-linux-gnu-library/2.15/coin’
Warning in install.packages :
installation of package ‘coin’ had non-zero exit status
The downloaded source packages are in
‘/tmp/RtmpYPqZgS/downloaded_packages’
My system session info is as follows:
R version 2.15.0 (2012-03-30)
Platform: i686-pc-linux-gnu (32-bit)
locale:
[1] LC_CTYPE=en_GB.UTF-8 LC_NUMERIC=C
[3] LC_TIME=en_GB.UTF-8 LC_COLLATE=en_GB.UTF-8
[5] LC_MONETARY=en_GB.UTF-8 LC_MESSAGES=en_GB.UTF-8
[7] LC_PAPER=C LC_NAME=C
[9] LC_ADDRESS=C LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
loaded via a namespace (and not attached):
[1] tools_2.15.0
I do not have a problem loading it on my windows PC. Anyone having similar
experience, and perhaps know the solution? Furthermore, package 'RHTMLForms'
from Omegahat I could only install on the ubuntu computer and not on the
windows computer. Anyone know the reason why? Perhaps this is not even an R
question, but any hint would be great.
Thanks
Sven
--
View this message in context: http://r.789695.n4.nabble.com/Problems-installing-Packages-tp4632217.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list