[Rcpp-devel] Using loess() from Rcpp

Davor Cubranic cubranic at stat.ubc.ca
Fri Apr 2 02:04:01 CEST 2010


Has anyone here used R curve-fitting from Rcpp? Like loess(), for example? Reading the R code, after a couple of layers of preliminaries to extract all the required parameters, it ends up in C (loess_raw) and Fortran (lowesw and lowesp).

It would be nice if there were already code out there that gives me a tidier interface that I could use instead of transcribing the R wrapper into C. And even cooler if R's 'formula' DSL had a C++ equivalent...

Thanks,

Davor


More information about the Rcpp-devel mailing list