Re: [Rcpp-devel] Advice on making interface into existing C++ library

2015-01-13 Thread Jeffrey Wong
Thanks Dirk, would I still create a rcpp skeleton package and dump the *.cpp files into src, then just use Rcpp::export? What about all the .h files in that library? Thanks On Tuesday, January 13, 2015, Dirk Eddelbuettel wrote: > > On 13 January 2015 at 00:16, Jeffrey Wong wrote: >

[Rcpp-devel] Advice on making interface into existing C++ library

2015-01-13 Thread Jeffrey Wong
the best way for making this accessible through Rcpp? -- Jeffrey Wong My portfolio: http://jeffreycwong.com <http://jeffreyctwong.com> ___ Rcpp-devel mailing list Rcpp-devel@lists.r-forge.r-project.org https://lists.r-forge.r-project.org/cgi-bin/m

[Rcpp-devel] Grid Search in RcppParallel

2014-10-04 Thread Jeffrey Wong
icVector output(grid.nrow()); // SquareRoot functor (pass input and output matrixes) GridSearch gridSearch(grid, f, output); // call parallelFor to do the work parallelFor(0, grid.nrow(), gridSearch); // return the output matrix return output; } -- Jeffrey Wong My portfol