Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Rcpp on Solaris

Tags:

r

rcpp

I am trying to compile Rcpp_0.9.7 from source on sparc-sun-solaris2.10. I am getting the following error when I try to use install.packages:

sh: make: not found

ERROR: compilation failed for package 'Rcpp'

From research on the internet, it appears others have had similar problems with solaris. Unfortunately I do not know very much about which compilers I should or should not be using. One thing I am beginning to realize, however, is that solaris seems to be a sub-optimal environment for running R (in terms of performance as well as convenience).

like image 776
rlh2 Avatar asked Jan 20 '26 11:01

rlh2


1 Answers

Solaris can mean different things: it could be Solaris on x86, or Solaris on Sparc.

According to the Rcpp build results page on CRAN, Rcpp does now build on x86 Solaris (thanks to a recent patch by Martyn Plummer) but not Sparc Solaris. We were just discussing that this week on the rcpp-devel list.

As for your error, you are lacking critical components, namely the make tool. You likely lack more. Your conclusion is correct, though. Depending your level of Unix knowledge, you may be best off to simply install Ubuntu and enjoy tens of thousands of pre-built packages, including R and well over a hundred related packages.

like image 72
Dirk Eddelbuettel Avatar answered Jan 23 '26 02:01

Dirk Eddelbuettel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!