[Rcpp-devel] Segfault problem when adding RcppFrame to RcppResultSet on gcc 4.1.2

2010-03-29 Thread R_help Help
Hi, I'm a bit puzzled. I uses exactly the same code in RcppExamples package to try adding RcppFrame object to RcppResultSet. When running it gives me segmentation fault problem. I'm using gcc 4.1.2 on redhat 64bit. I'm not sure if this is the cause of the problem. Any advice would be greatly appre

[Rcpp-devel] Using Rcpp in MS VC++

2010-05-27 Thread R_help Help
Hi - I tried to start using Rcpp in MS VC++. As expected, with my experience I can't get it to work. The compiled Rcpp.dll was compiled with MinGW and the mangled name convention seem to be totally different from MS VC++ convention. I also tried compiling the source within VC++ myself. However, I h

[Rcpp-devel] Passing large data frame

2010-06-13 Thread R_help Help
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 copy of large data frame to RcppFrame object. Ho