[R] Error adding Bigmemory package
I am trying to add the bigmemory packages but I get the following error message: In file included from bigmemory.cpp:14:0: ../inst/include/bigmemory/isna.hpp: In function 'bool neginf(double)': ../inst/include/bigmemory/isna.hpp:22:57: error: 'isinf' was not declared in this scope make: *** [bigmemory.o] Error 1 ERROR: compilation failed for package 'bigmemory' * removing '/usr/local/lib/R/library/bigmemory' * restoring previous '/usr/local/lib/R/library/bigmemory' The downloaded packages are in '/tmp/RtmpNrkt2a/downloaded_packages' Updating HTML index of packages in '.Library' Warning message: In install.packages("bigmemory") : installation of package 'bigmemory' had non-zero exit status > install.packages(gsl) Error in install.packages(gsl) : object 'gsl' not found > install.packages(gnulib) Error in install.packages(gnulib) : object 'gnulib' not found I am using the GNU compiler version 4.5.1 from blastwave on a Solaris 10 box. I can't seem to find how to compile bigmembory successfully. I can complile and add other packages. roger -- View this message in context: http://r.789695.n4.nabble.com/Error-adding-Bigmemory-package-tp4124863p4124863.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
Re: [R] bigmemory on Solaris
Thanks again for your help. I've been able to add several packages, bigmemory seems to be the only one to fail and it fails on isinf. Is there a way I can download the code and change it to include a ininf function or definition? I'm using the GNU compiler; should I have been using the SUN Studio compiler? Roger -- View this message in context: http://r.789695.n4.nabble.com/bigmemory-on-Solaris-tp4128179p4129290.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.
[R] Compiling R using Solaris Studio
I am trying to compile R using Solaris Studio, but it keeps trying to use the GNU compiler! I've tried editing all the Makeconf files I can find, but configure keeps changing them back! I tried to rename the GNU directory so it could not find gcc, but then I got a missing lib error. How does one change the compiler used to compile R? Thanks! Roger -- View this message in context: http://r.789695.n4.nabble.com/Compiling-R-using-Solaris-Studio-tp4148407p4148407.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.