Re: [Rcpp-devel] can one modify array in R memory from C++ without copying it?

2011-11-02 Thread Christian Gunning
On Wed, Nov 2, 2011 at 4:00 AM, wrote: > > > 1. in my previous post  i used exactly that same constructor you are > talking about as you can see from the code i posted Sorry about that, completely missed it... Using what's below, this should work fine. > 3. i am not 100% sure but this toy test t

Re: [Rcpp-devel] Limit of 20 on length of Rcpp::List::create?

2011-11-02 Thread Michael Hannon
> From: Douglas Bates > On Tue, Nov 1, 2011 at 3:32 PM, Michael Hannon wrote: >> >> >> Greetings.  It appears that there is a limit of 20 items in a list created >> by; >> >> Rcpp::List:create >>  [...] > Or go into Rcpp/inst/include/Rcpp/generated/vector__create.h and > extend the limit of