Compilation errors when installing packages

Problem
* installing *source* package ‘Rcpp’ ...

** package ‘Rcpp’ successfully unpacked and MD5 sums checked

** libs

g++ -I/usr/lib64/RRO-8.0/R-3.1.1/lib/R/include -DNDEBUG -I../inst/include/ -I/usr/local/include    -fpic  -g -O2  -c Date.cpp -o Date.o

/bin/bash: g++: command not found

make: *** [Date.o] Error 127

ERROR: compilation failed for package ‘Rcpp’

* removing ‘/usr/lib64/RRO-8.0/R-3.1.1/lib/R/library/Rcpp’

* installing *source* package ‘nloptr’ ...

somehow it does not ask for gcc which I did install following http://mran.revolutionanalytics.com/documents/rro/installation/#revorinst-lin
Solution
This is a problem with our install.sh script not installing the package named g++ for you.

If you run this command on your system
sudo apt-get install g++
and then re-install RRO, you should ready to go.
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.
Properties

Article ID: 3104115 - Last Review: 10/31/2015 13:35:00 - Revision: 1.0

Revolution Analytics

  • KB3104115
Feedback