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.
Properties

Article ID: 3103275 - Last Review: Oct 26, 2015 - Revision: 1

Feedback