This issue was reported stack overflowing before , but no matter what I do, I still get the same thing. Whenever I try to install any R package, I get the following:
install.packages("Hmisc", repos = "http://cran.r-project.org")
Installing package into ‘/home/budjajojo/R_packages’
(as ‘lib’ is unspecified)
trying URL 'http://cran.r-project.org/src/contrib/Hmisc_3.13-0.tar.gz'
Content type 'application/x-gzip' length 587751 bytes (573 Kb)
opened URL
==================================================
downloaded 573 Kb
* installing *source* package ‘Hmisc’ ...
** package ‘Hmisc’ successfully unpacked and MD5 sums checked
** libs
sh: make: command not found
ERROR: compilation failed for package ‘Hmisc’
* removing ‘/home/budjajojo/R_packages/Hmisc’
The downloaded source packages are in
‘/tmp/Rtmp6fA61h/downloaded_packages’
Warning message:
In install.packages("Hmisc", repos = "http://cran.r-project.org") :
installation of package ‘Hmisc’ had non-zero exit status
I am using the new openSUSE 13.1. and R version 3.0.2. what I installed from R-fixed repositories.
Besides the solution from a similar post, I tried the following:
- changing the library path in my home folder (possibly release privileges)
- installing and updating the gcc compiler (both gcC ++ and gfortran)
- change between gcc versions with upgrade alternatives (gcc3 version checked)
- tried everything as superuser
. , gcc (. 4.8.1), , .