[Rcpp-devel] GSOC ideas

Dirk Eddelbuettel edd at debian.org
Sat Jan 18 19:40:03 CET 2014


On 18 January 2014 at 12:24, Tim Keitt wrote:
| Is there a list of GSOC ideas for Rcpp? I assume you all participate.

I have in the past (and even admin'ed for R) but not for the last two
years for lack of time. 

Rcpp clearly fits under the R mantle so if you want to mentor, go for it.
GSoC is a lovely program.

Dirk
 
| As far as I can tell (correct me if I am wrong), Rcpp does not support as
| arguments or return types:
| void*
| enums
| int/double* buffers
| char** buffers (vector of null-terminated strings)
| 
| If these types of arguments could be handled natively, I would not have to
| write wrappers by hand, which is easy but time consuming for large libraries.
| 
| The first thing might be to add an "enum_<enumType>" template to Rcpp a la
| Boost::Python.
| 
| It would be nice to extend the attributed mechanism to allow wrapping given a
| prototype, for example:
| 
| // [[Rcpp::wrap]]
| const char* theFunc(double n);
| 
| This would not emit a prototype for theFunc, the assumption being it is defined
| in a header.
| 
| THK
| 
| --
| http://www.keittlab.org/
| 
| ----------------------------------------------------------------------
| _______________________________________________
| Rcpp-devel mailing list
| Rcpp-devel at lists.r-forge.r-project.org
| https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
-- 
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com


More information about the Rcpp-devel mailing list