Re: [Rcpp-devel] Question about RInside execution

2010-06-14 Thread Dirk Eddelbuettel
Hi Geunseop, Thanks for interest in RInside, but *please* use the rcpp-devel list which I will now CC. You need to subscribe there to post, the interface is via R-Forge. On 14 June 2010 at 18:32, GEUN SEOP LEE wrote: | Dear Dr. Eddelbuettel, | | My name is Geunseop Lee and Ph.D student at Pe

[Rcpp-devel] Rcpp sugar

2010-06-14 Thread Romain Francois
Hello, Initially motivated by Doug's question: http://article.gmane.org/gmane.comp.lang.r.rcpp/412 and drafted quickly in : http://article.gmane.org/gmane.comp.lang.r.rcpp/422 I've added some code in Rcpp that I call "Rcpp sugar" (another name I had in mind was "Rcpp plasma". I like sugar be

Re: [Rcpp-devel] Passing large data frame

2010-06-14 Thread Dirk Eddelbuettel
Robert, On 14 June 2010 at 12:36, Romain Francois wrote: | Le 14/06/10 05:38, R_help Help a écrit : | [...] | > Secondly, I'm wondering why the POSIXct column in my data frame | > appears as double when I pass a data frame as an argument into a | > function or when I read it out from global envir

Re: [Rcpp-devel] Passing large data frame

2010-06-14 Thread Romain Francois
Hi, Le 14/06/10 05:38, R_help Help a écrit : Hi, I have a doubt regarding passing large data frame into Rcpp. If we consider the following function foo(SEXP myframe) { RcppFrame&fr_ref = (RcppFrame&) myframe; } Somehow seems to work without a need to call a constructor and thus causes

Re: [Rcpp-devel] Calling RInside constructor multiple times

2010-06-14 Thread Romain Francois
Hello, We cannot load more than one R interpreter per thread. Until now, we rely on users not to di it, but it might be worth adding this constraint (which is imposed by R) into the design of RInside, i.e. we would implement the singleton pattern. When you are done with temp_1.Rdata, can't y