[Rcpp-devel] RcppArmadillo compilation failure

2014-11-13 Thread Jon Clayden
Dear all, After recently updating to OS X 10.10, "Yosemite", and recompiling R 3.1.2, I'm reinstalling various packages, but running into trouble with RcppArmadillo. I configured R with ./configure --with-blas="-framework Accelerate" --with-lapack --enable-memory-profiling --with-system-zlib --w

Re: [Rcpp-devel] Rcpp vector classes vs std::vector for custom class member variables

2013-10-08 Thread Jon Clayden
On 8 October 2013 14:19, Dirk Eddelbuettel wrote: > > On 8 October 2013 at 13:53, Jon Clayden wrote: > | I think I do... ;) I need the object to hold state and not be > deallocated > | between calls into the C++ code. I also want to allow for the > possibility that > |

Re: [Rcpp-devel] Rcpp vector classes vs std::vector for custom class member variables

2013-10-08 Thread Jon Clayden
Thanks Dirk and Romain for your helpful replies. To follow up briefly... I'm defining a custom class, an object of which will need to survive >> across various calls back and forth between R and C++, so I plan to use >> the XPtr class to wrap a pointer. My question is, what are the >> advantages a

[Rcpp-devel] Rcpp vector classes vs std::vector for custom class member variables

2013-10-08 Thread Jon Clayden
Dear all, I'm new to Rcpp and this mailing list. I did look for a previous answer to this question, but it's hard to summarise succinctly so I may have missed something. Apologies if so. I'm defining a custom class, an object of which will need to survive across various calls back and forth betwe