[Rcpp-devel] RInside on Visual Studio

2010-03-30 Thread Dan Benčík
Dear guys, is there any possibility to use the RInside and RCpp libraries in Visual Studio? I tried to manually download both libraries and set up a VS project, but the linker failed to recognize the functions used in the code in libRInside.a file. Is there a way to get a purely windows versio

Re: [Rcpp-devel] RcppArmadillo error

2010-03-30 Thread Romain Francois
Le 30/03/10 15:36, Douglas Bates a écrit : > On Tue, Mar 30, 2010 at 1:15 AM, Romain Francois > wrote: >> Hi, > >> If you want to compile the code that is here >> http://dirk.eddelbuettel.com/code/rcpp.armadillo.html directly from R >> CMD SHLIB, you can do this: > >> rom...@naxos /tmp $ export P

Re: [Rcpp-devel] Rcpp shortcut for R's as.matrix and as.vector

2010-03-30 Thread Romain Francois
Le 30/03/10 15:46, Douglas Bates a écrit : > On Tue, Mar 30, 2010 at 1:44 AM, Romain Francois > wrote: >> Le 29/03/10 15:36, Douglas Bates a écrit : >>> >>> Most Lapack routines for solving linear systems from factorizations >>> allow the right hand side to be a matrix, thereby providing for >>>

Re: [Rcpp-devel] Rcpp shortcut for R's as.matrix and as.vector

2010-03-30 Thread Douglas Bates
On Tue, Mar 30, 2010 at 1:44 AM, Romain Francois wrote: > Le 29/03/10 15:36, Douglas Bates a écrit : >> >> Most Lapack routines for solving linear systems from factorizations >> allow the right hand side to be a matrix, thereby providing for >> solving multiple systems in one  call.  I would like

Re: [Rcpp-devel] RcppArmadillo error

2010-03-30 Thread Douglas Bates
On Tue, Mar 30, 2010 at 1:15 AM, Romain Francois wrote: > Hi, > If you want to compile the code that is here > http://dirk.eddelbuettel.com/code/rcpp.armadillo.html directly from R > CMD SHLIB, you can do this: > rom...@naxos /tmp $ export PKG_CXXFLAGS=`Rscript -e > "RcppArmadillo:::CxxFlags()"`