Re: [Rcpp-devel] Rcpp "version" of R's match function

2012-11-16 Thread Willem Ligtenberg
I agree that we might want to have these things in a package say RcppBase. Then Rcpp can remain the R to cpp layer. And anybody who want to implement an R base function in cpp, can contribute it to RcppBase. Willem On Fri, Nov 16, 2012 at 8:56 AM, Romain Francois wrote: > We need to fond the ri

Re: [Rcpp-devel] Rcpp "version" of R's match function

2012-11-15 Thread Willem Ligtenberg
On Thu, Nov 15, 2012 at 4:19 PM, Dirk Eddelbuettel wrote: > > On 15 November 2012 at 16:02, Willem Ligtenberg wrote: > | and now to the list... > | > | Nothing specific, but some way of sharing would be nice. :) > > Funny how we managed to do that "sharing thing&quo

Re: [Rcpp-devel] Rcpp "version" of R's match function

2012-11-15 Thread Willem Ligtenberg
and now to the list... Nothing specific, but some way of sharing would be nice. :) On Thu, Nov 15, 2012 at 3:58 PM, Romain Francois wrote: > Help is very welcome. Why github though ? > > Le 15/11/12 15:42, Willem Ligtenberg a écrit : > >> Would be nice to keep the list a

Re: [Rcpp-devel] Rcpp "version" of R's match function

2012-11-15 Thread Willem Ligtenberg
Would be nice to keep the list and the progress on github. Other might pitch in and help out, I am also interested, just don't know how much time I can spend on it. Kind regards, Willem On Thu, Nov 15, 2012 at 3:24 PM, Romain Francois wrote: > Le 15/11/12 14:52, Hadley Wickham a écrit : > > R

Re: [Rcpp-devel] Rcpp and CUDA

2012-02-02 Thread Willem Ligtenberg
Hi, You might want to have a look at ROpenCL which I am developing. http://repos.openanalytics.eu/html/ROpenCL.html I gave a presentation about it on UseR2011. (I still need to find time to make it CRAN worthy though) It already allows you to create objects in R and move them to OpenCL run a kerne

Re: [Rcpp-devel] Pointer troubles

2011-08-03 Thread Willem Ligtenberg
Dirk Eddelbuettel wrote: > > On 3 August 2011 at 14:18, Willem Ligtenberg wrote: > | Hi Dirk (and list), > | > | Yes, the above does help. > | Although, I actually got the toy example to work about 5 minutes ago. :) > | And just 1 minute ago also the OpenCL method. :D > | At this mo

Re: [Rcpp-devel] Pointer troubles

2011-08-03 Thread Willem Ligtenberg
wrote: > > Hi Willem, > > On 3 August 2011 at 12:13, Willem Ligtenberg wrote: > | Hi Dirk and list, > | > | Indeed it might have been a bit too complicated. > | I think I have another example, which explains my troubles without > | requiring OpenCL. > | In this case, I

Re: [Rcpp-devel] Pointer troubles

2011-08-03 Thread Willem Ligtenberg
ds, Willem On Tue, Aug 2, 2011 at 15:24, Dirk Eddelbuettel wrote: > > Hi Willem, > > Thanks a pretty long and complicated post.  Could we possibly break it down > into smaller pieces? > > On 2 August 2011 at 11:45, Willem Ligtenberg wrote: > | Hi, > | > | I am tryi

[Rcpp-devel] Pointer troubles

2011-08-02 Thread Willem Ligtenberg
formInfo (platforms[0], CL_PLATFORM_NAME, sizeof(cBuffer), cBuffer, NULL); Rcpp::CharacterVector ab(1); ab[0] = cBuffer; return ab; } This results in: getPlatformIDs2() [1] "NVIDIA CUDA" Could someone check if I am taking the pointer to and from R in the