[Rcpp-devel] Warning from Rscript interferes with Rcpp:::LdFlags()

Douglas Bates bates at stat.wisc.edu
Sat Mar 13 12:45:28 CET 2010


In a recent versions of R-devel calling Rscript from within R or in,
say, R CMD INSTALL produces a warning.

> system("Rscript -e 'Rcpp:::LdFlags()'")
WARNING: ignoring environment value of R_HOME
-L/home/bates/R/i686-pc-linux-gnu-library/2.11/Rcpp/lib -lRcpp
-Wl,-rpath,/home/bates/R/i686-pc-linux-gnu-library/2.11/Rcpp/lib>

This interferes with the standard way of determining the Makevars file
for packages that use Rcpp.

I'll check if there is a way to suppress that.


More information about the Rcpp-devel mailing list