This issue was reported on stack overflow 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. that I have installed from R-patched repositories.
Besides the solution from the similar post I have tried the following:
Off course none of the above solutions worked. I think it is gcc issue (ver. 4.8.1) but I`m not sure what can be done.
SUSE Linux Enterprise Server and openSUSE use zypper for package management and YaST for system administration.
SUSE-based systems – openSUSE and SUSE Linux Enterprise - use the RPM Package Manager. The package manager precludes partial and faulty installations and “uninstalls” by adding and removing the files in a package atomically.
openSUSE does not come with make
installed by default. You have to install it with Yast or type in terminal:
sudo zypper install make
Usually, to be sure everything works fine with R on openSUSE, namely packages that depend on rgl
, I install all these packages:
sudo zypper install libpng12-devel xorg-x11-libs freeglut-devel gcc gcc-fortran gcc-c++ make r-base r-base-devel
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With