[R-pkg-devel] testing for NaN in C++ code

Dirk Eddelbuettel edd @end|ng |rom deb|@n@org
Sat Mar 6 15:15:51 CET 2021


On 5 March 2021 at 21:07, Ben Bolker wrote:
|    Thanks!  Now I see this is in Writing R Extensions, should have 
| looked more carefully ...

There is also a very good (and frequently linked-to) post by Kevin on SO
which lists the different ways in the C API of R, and the Rcpp wrapper which
aims to match from R itself does:

  https://stackoverflow.com/a/26262984/143305

Dirk

-- 
https://dirk.eddelbuettel.com | @eddelbuettel | edd using debian.org



More information about the R-package-devel mailing list