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

Romain Francois romain.francois at dbmail.com
Sat Mar 13 14:09:32 CET 2010


Le 13/03/10 13:18, Douglas Bates a écrit :
>
> On Sat, Mar 13, 2010 at 5:45 AM, Douglas Bates<bates at stat.wisc.edu>  wrote:
>> 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.
>
> For the time being I would suggest piping the output through
> sed /^WARNING/d

That's odd. I just "svn co" R-devel in fedora and I cannot reproduce this.

some other potential options are:
  --vanilla
  2> /dev/null

Romain

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/OIXN : raster images and RImageJ
|- http://tr.im/OcQe : Rcpp 0.7.7
`- http://tr.im/O1wO : highlight 0.1-5




More information about the Rcpp-devel mailing list