Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

Error in installing Rcpp package


View products that this article applies to.

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.

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 3103275
Revision : 1
Created on : 1/7/2017
Published on : 10/26/2015
Exists online : False
Views : 73