[Rcpp-devel] Misunderstanding about sugar

Dirk Eddelbuettel edd at debian.org
Fri Oct 21 20:56:39 CEST 2011


On 21 October 2011 at 11:23, Davor Cubranic wrote:
| 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.

Nicely put.  I should get you to write more Rcpp documentation :)

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx


More information about the Rcpp-devel mailing list