[Rcpp-devel] g++-llvm still doesn't like RcppArmadillo?

2011-12-23 Thread Davor Cubranic
Did we ever find a way to make RcppArmadillo compile with g++-llvm on OS X Lion? There was a thread in July about unresolved 'arma_version' symbol (http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2011-July/002621.html), and it appears the only way around it was by compiling with the v

Re: [Rcpp-devel] c++ class as argument in rcpp function (using modules)

2011-12-23 Thread Yasir Suhail
Hi, I think I have figured out why we were getting the error. When we call the function from R, the type of the instance passed is S4SXP, rather than EXTPTRSXP, which is what XPtr(SEXP) expects. We can, however, use the Rcpp::S4(SEXP) constructor to get an S4 object. Are the user defined C++ class

Re: [Rcpp-devel] c++ class as argument in rcpp function (using modules)

2011-12-23 Thread Dirk Eddelbuettel
On 23 December 2011 at 18:16, Yasir Suhail wrote: | Hi, | | I think I have figured out why we were getting the error. When we call the | function from R, the type of the instance passed is S4SXP, rather than | EXTPTRSXP, which is what XPtr(SEXP) expects. That's possible. | We can, however, u

Re: [Rcpp-devel] g++-llvm still doesn't like RcppArmadillo?

2011-12-23 Thread Dirk Eddelbuettel
On 23 December 2011 at 11:03, Davor Cubranic wrote: | Did we ever find a way to make RcppArmadillo compile with g++-llvm | on OS X Lion? | | There was a thread in July about unresolved 'arma_version' symbol | (http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2011-July/002621.html), |

Re: [Rcpp-devel] [ANN] Rcpp 0.9.8

2011-12-23 Thread Dirk Eddelbuettel
On 22 December 2011 at 06:52, Dirk Eddelbuettel wrote: | | Rcpp 0.9.8 went to CRAN this morning, below is the usual blog post in case | you haven't seen it (and the blog at http://dirk.eddelbuettel.com/blog/ has | links). [...] |o wrap now handles 64 bit integers (int64_t, uint64_t) a

Re: [Rcpp-devel] c++ class as argument in rcpp function (using modules)

2011-12-23 Thread ian . fellows
0001000ff590 in run_Rmainloop () #14 0x00010e8b in main () (gdb) Thanks! On Wed, Dec 21, 2011 at 7:41 PM, Darren Cook wrote: Hello Yasir, Could you post your complete (minimal) code to the list. Then someone might be curious enough to try reproducing the problem. Darren On 2011-1