Re: [Rcpp-devel] Rcpp

2010-05-10 Thread Dirk Eddelbuettel
Hi Jean-Eudes, Thanks for your interest in Rcpp. On 10 May 2010 at 14:09, Jean-Eudes Dazard wrote: | Here is my beginner?s question: | | We want to interface an existing C++ subroutine to R. The subroutine can be | wrapped up in a C++ program, compiled with standard gcc, and run e.g. under GNU

[Rcpp-devel] Rcpp

2010-05-10 Thread Jean-Eudes Dazard
Here is my beginner's question: We want to interface an existing C++ subroutine to R. The subroutine can be wrapped up in a C++ program, compiled with standard gcc, and run e.g. under GNU/Linux 2.6.18-128.1.14.el5. It accepts several arguments to it. (i) Using the .Call interface (with SEXP

Re: [Rcpp-devel] Rcpp::Dimension initialized from an SEXP

2010-05-10 Thread Douglas Bates
On Mon, May 10, 2010 at 8:32 AM, Romain Francois wrote: > > Le 10/05/10 15:06, Romain Francois a écrit : >> >> Le 10/05/10 14:13, Romain Francois a écrit : >>> >>> Le 08/05/10 16:21, Douglas Bates a écrit : The enclosed section of code using Rcpp::Dimension fails to compile because

Re: [Rcpp-devel] Rcpp::Dimension initialized from an SEXP

2010-05-10 Thread Romain Francois
Le 10/05/10 15:06, Romain Francois a écrit : Le 10/05/10 14:13, Romain Francois a écrit : Le 08/05/10 16:21, Douglas Bates a écrit : The enclosed section of code using Rcpp::Dimension fails to compile because of the const qualifiers for the simple::nrow and simple::ncol method functions. If y

Re: [Rcpp-devel] Rcpp::Dimension initialized from an SEXP

2010-05-10 Thread Romain Francois
Le 10/05/10 14:13, Romain Francois a écrit : Le 08/05/10 16:21, Douglas Bates a écrit : The enclosed section of code using Rcpp::Dimension fails to compile because of the const qualifiers for the simple::nrow and simple::ncol method functions. If you omit those const qualifiers then it will com

Re: [Rcpp-devel] Rcpp::Dimension initialized from an SEXP

2010-05-10 Thread Romain Francois
Le 08/05/10 16:21, Douglas Bates a écrit : The enclosed section of code using Rcpp::Dimension fails to compile because of the const qualifiers for the simple::nrow and simple::ncol method functions. If you omit those const qualifiers then it will compile and behave as desired. Of course, I woul

Re: [Rcpp-devel] Updates to armadillo

2010-05-10 Thread Romain Francois
Le 10/05/10 13:48, Abhisek a écrit : Hi, I was wondering how updates to armadillo are incorporated into Rcpp? There has been an update with a new function that I would like to use. Best, Abhisek The development version of the package includes the latest (0.9.6) version of armadillo, and we p

[Rcpp-devel] Updates to armadillo

2010-05-10 Thread Abhisek
Hi, I was wondering how updates to armadillo are incorporated into Rcpp? There has been an update with a new function that I would like to use. Best, Abhisek ___ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-pro