[Rcpp-devel] regular expression in Rcpp

2015-01-12 Thread Mark Leeds
Hi All: I was trying to do something with regular expressions in Rcpp so I piggy backed heavily off of Dirk's boost.regex example in the Rcpp Gallery where he takes streams of digits and checks them for machine and human readability. My problem is actually pretty different and simpler. Essentially

Re: [Rcpp-devel] RCPP, Rstudio, parallel

2015-01-12 Thread Dirk Eddelbuettel
On 12 January 2015 at 20:03, Maxime To wrote: | Hi all, | | I have a problem using simultaneously RCPP and Snow with Rstudio. The problem | only appears when I use Rstudio, and the code runs well when using RGUI. | I wrote a cpp function that I want to run in parallel. So I use Snow and | compile

Re: [Rcpp-devel] Error compiling Rinside qt in windows

2015-01-12 Thread Dirk Eddelbuettel
On 12 January 2015 at 23:10, Jodi Jhouranda Siregar wrote: | I made simple qt with rinside software and it works smootly in my linux pc. and | when i try to complie it in windows. it does'nt work.  any solution? This is documented: you may need to compile Qt with the same compiler that R uses; I

[Rcpp-devel] RCPP, Rstudio, parallel

2015-01-12 Thread Maxime To
Hi all, I have a problem using simultaneously RCPP and Snow with Rstudio. The problem only appears when I use Rstudio, and the code runs well when using RGUI. I wrote a cpp function that I want to run in parallel. So I use Snow and compile the function on each node as follow: library(parallel)

[Rcpp-devel] Error compiling Rinside qt in windows

2015-01-12 Thread Jodi Jhouranda Siregar
I made simple qt with rinside software and it works smootly in my linux pc. and when i try to complie it in windows. it does'nt work. any solution? regards. ___ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-projec

[Rcpp-devel] Rcpp modules and S3 dispatch on rbind/cbind

2015-01-12 Thread Louis Aslett
I've encountered a problem when trying to perform S3 method dispatch for rbind() with an Rcpp module I've written. Obviously Rcpp modules are S4, but as per many Google-able discussions, rbind/cbind can't support S4 method dispatch due to the first argument being a dot-dot-dot one, so S3 on the fi

Re: [Rcpp-devel] Setting time zone on Rcpp::Datetime

2015-01-12 Thread Dirk Eddelbuettel
On 12 January 2015 at 13:10, janus Larsen wrote: | Hi again, | | Thanks Dirk for your reply. So there is no way of doing this on the C side? | | The thing is that I'm returning a large object that contains a lot of | information (about an unstructured 3D model) and some of the fields are | DateT

Re: [Rcpp-devel] Setting time zone on Rcpp::Datetime

2015-01-12 Thread janus Larsen
Hi again, Thanks Dirk for your reply. So there is no way of doing this on the C side? The thing is that I'm returning a large object that contains a lot of information (about an unstructured 3D model) and some of the fields are DateTimes. I could of cource wrap the call to the C function in an R