On 6 January 2012 at 13:46, Douglas Bates wrote:
| I didn't make myself clear.  What I meant was that it is not possible
| to use asInteger in Rcpp and count on the name being remapped to
| Rf_asInteger.

Right. I had to enforce that a long time ago because the non-prefixed
variants too often clash with things commonly used in other places. One
example was length(), and I think I even had issues with error().  

Hence the use of the remap toggle and the need for ugliness via Rf_*.

Dirk

-- 
"Outside of a dog, a book is a man's best friend. Inside of a dog, it is too
dark to read." -- Groucho Marx
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to