Error in installing Rcpp package

If you look at the log file - you see -

g++ -I/usr/lib64/Revo-7.0/R-3.0.2/lib64/R/include -DNDEBUG -I../inst/include/ -I/usr/local/include -fpic -g -O2 -c Date.cpp -o Date.o 
make: g++: Command not found 
make: *** [Date.o] Error 127 
ERROR: compilation failed for package ‘Rcpp’

This suggests that g++ is not installed on the image or is not on $PATH

Install using - yum install gcc-c++ and then add it to the path.
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: 3103275 - Last Review: 10/26/2015 06:10:00 - Revision: 1.0

Revolution Analytics

  • KB3103275
Feedback