[Rcpp-devel] Misunderstanding about sugar

Davor Cubranic cubranic at stat.ubc.ca
Fri Oct 21 20:23:01 CEST 2011


On October 20, 2011 07:58:34 PM Michael Hannon wrote:
> Greetings.  I'm trying to bootstrap my way into Rcpp.  I have the
> impression that the "Sugar" extension to Rcpp allows one to use R syntax
> to run a substantial subset of Rcommands within C++

I think a more correct statement would be that Rcpp comes with a set of 
functions that work on NumericVectors, and look and behave a lot like 
vectorized R functions like sapply, sqrt, and others. But it's still C++ code 
and C++ syntax.

Davor


More information about the Rcpp-devel mailing list