On 19 July 2015 at 11:42, Alain Forget wrote: | Hey Dirk (and Rccp-devels), | | Centos 6.3 | | I have tried looking for R-devel but have been unsuccessful in even figuring out what it is (an R package? Its own standalone software?). Could you please point me in the right direction?
I don't know. Maybe try the r-sig-fedoara list. I use Debian and Ubuntu where things work. I find CentOS extremely constraining, and the colleagues that (still) use it install most things from source. I prefer apt, dpkg and the Debian/Ubuntu machinery. (That said Rcpp does _of course_ work there; CRAN runs to RH/Fedora based test machines.) Dirk | Thanks! | Alain | | -----Original Message----- | From: Dirk Eddelbuettel [mailto:e...@debian.org] | Sent: Thursday, July 16, 2015 17:53 | To: afor...@cmu.edu | Cc: rcpp-devel@lists.r-forge.r-project.org | Subject: Re: [Rcpp-devel] Manual Rcpp installation failure | | | Alain, | | On 16 July 2015 at 17:20, Alain Forget wrote: | | I need to manually download and install Rcpp for R-3.1.2 on CentOS. I downloaded Rcpp from the "Package source" link here: | | Which version of CentOS? | | | https://cran.r-project.org/web/packages/Rcpp/index.html | | | | I then unpacked the tar.gz, and ran the following command to install the package, which resulted in the errors below: | | | | $ R CMD INSTALL Rcpp -l my/R/packages/directory | | * installing *source* package 'Rcpp' ... | | ** package 'Rcpp' successfully unpacked and MD5 sums checked | | ** libs | | Warning: R include directory is empty -- perhaps need to install | | R-devel.rpm or similar | | g++ -m64 -I/usr/include/R -DNDEBUG -I../inst/include/ -I/usr/local/include -fpic -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -c Date.cpp -o Date.o | | In file included from ../inst/include/RcppCommon.h:29, | | from ../inst/include/Rcpp.h:27, | | from Date.cpp:31: | | ../inst/include/Rcpp/r/headers.h:52:15: error: R.h: No such file or | | directory | | ../inst/include/Rcpp/r/headers.h:53:24: error: Rinternals.h: No such | | file or directory | | ../inst/include/Rcpp/r/headers.h:54:27: error: R_ext/Complex.h: No | | such file or directory | | ../inst/include/Rcpp/r/headers.h:55:25: error: R_ext/Parse.h: No such | | file or directory | | ../inst/include/Rcpp/r/headers.h:56:28: error: R_ext/Rdynload.h: No | | such file or directory | | ../inst/include/Rcpp/r/headers.h:57:22: error: Rversion.h: No such | | file or directory In file included from ../inst/include/Rcpp.h:27, | | from Date.cpp:31: | | ../inst/include/RcppCommon.h:67:29: error: R_ext/Callbacks.h: No such | | file or directory | | ../inst/include/RcppCommon.h:68:30: error: R_ext/Visibility.h: No such | | file or directory | | ../inst/include/RcppCommon.h:71:19: error: Rmath.h: No such file or | | directory In file included from ../inst/include/RcppCommon.h:132, | | from ../inst/include/Rcpp.h:27, | | from Date.cpp:31: | | ../inst/include/Rcpp/Interrupt.h:25:34: error: R_ext/GraphicsEngine.h: | | No such file or directory In file included from ../inst/include/Rcpp.h:73, | | from Date.cpp:31: | | ../inst/include/Rcpp/Rmath.h:134:27: error: missing binary operator before token "(" | | In file included from ../inst/include/Rcpp.h:27, | | from Date.cpp:31: | | ../inst/include/RcppCommon.h:76: error: 'SEXP' does not name a type | | ../inst/include/RcppCommon.h:83: error: 'SEXP' does not name a type | | ../inst/include/RcppCommon.h:90: error: variable or field | | 'Rcpp_ReleaseObject' declared void | | ../inst/include/RcppCommon.h:90: error: 'SEXP' was not declared in | | this scope | | Date.cpp:1276: error: expected '}' at end of input | | make: *** [Date.o] Error 1 | | | | I'm guessing there's something basic I am not aware of? Any suggestions or assistance in manually installing Rcpp would be greatly appreciated, since so many other packages depend on Rcpp, so we're rather stuck until this works. | | You may be missing R-devel (which is what CentOS/RHEL/Fedora calls it IIRC) which supplies the R headers. Rcpp needs them. | | Dirk | | -- | http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org | -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel