Re: [Rcpp-devel] Sugar/inline and RTools

2010-12-12 Thread Dirk Eddelbuettel
Hi Chris, On 12 December 2010 at 15:03, Wray, Christopher wrote: | Hi, | Im using windows7, R2.12, Rtools2.12 and all the latest packages of inline, | rcpp, etc. Over the last few weeks I have managed to get loads of the | examples working, and all makes sense and is pretty clear. I had a couple

[Rcpp-devel] Sugar/inline and RTools

2010-12-12 Thread Wray, Christopher
Hi, Im using windows7, R2.12, Rtools2.12 and all the latest packages of inline, rcpp, etc. Over the last few weeks I have managed to get loads of the examples working, and all makes sense and is pretty clear. I had a couple of questions/comments: 1. RTools: On windows, I understand that Rcpp an

Re: [Rcpp-devel] Compiling RcppArmadillo through R CMD SHLIB on Windows XP

2010-12-12 Thread Romain Francois
Based on this, I've added Rcpp:::SHLIB and RcppArmadillo:::SHLIB, so that with the next versions of these packages, you can do: $ Rscript -e "RcppArmadillo:::SHLIB('bla.cpp')" Romain Le 12/12/10 13:15, Romain Francois a écrit : Le 12/12/10 04:03, Savitsky, Terrance a écrit : Hello, I employ

Re: [Rcpp-devel] Compiling RcppArmadillo through R CMD SHLIB on Windows XP

2010-12-12 Thread Romain Francois
Le 12/12/10 04:03, Savitsky, Terrance a écrit : Hello, I employ a variant of the following lines in a cygwin bash session in Windows XP to compile my .cpp file. $ export PKG_LIBS=`Rscript.exe -e "RcppArmadillo:::LdFlags()"` $ export PKG_CXXFLAGS=`Rscript.exe -e "RcppArmadillo:::CxxFlags()"` $

Re: [Rcpp-devel] Compiling RcppArmadillo through R CMD SHLIB on Windows XP

2010-12-12 Thread Romain Francois
Le 12/12/10 04:03, Savitsky, Terrance a écrit : Hello, I employ a variant of the following lines in a cygwin bash session in Windows XP to compile my .cpp file. $ export PKG_LIBS=`Rscript.exe -e "RcppArmadillo:::LdFlags()"` $ export PKG_CXXFLAGS=`Rscript.exe -e "RcppArmadillo:::CxxFlags()"` $