Re: [Rcpp-devel] ColDatum constructors memory safety

2010-03-13 Thread Dirk Eddelbuettel
Hi Alistair, Thanks for sharing the analysis. On 12 March 2010 at 15:15, Alistair Gee wrote: | The ColDatum default constructor does not initialize any fields except | for "level". But the ColDatum *copy* constructor expects the "type" | field to be properly initialized, b/c if type is COLTYPE_F

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

2010-03-13 Thread Douglas Bates
On Sat, Mar 13, 2010 at 7:09 AM, Romain Francois wrote: > > Le 13/03/10 13:18, Douglas Bates a écrit : >> >> On Sat, Mar 13, 2010 at 5:45 AM, Douglas Bates >>  wrote: >>> >>> In a recent versions of R-devel calling Rscript from within R or in, >>> say, R CMD INSTALL produces a warning. >>> sy

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

2010-03-13 Thread Romain Francois
Le 13/03/10 13:18, Douglas Bates a écrit : > > On Sat, Mar 13, 2010 at 5:45 AM, Douglas Bates 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 va

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

2010-03-13 Thread Douglas Bates
On Sat, Mar 13, 2010 at 5:45 AM, Douglas Bates 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-lib

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

2010-03-13 Thread Douglas Bates
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-