Skip to content

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

2 messages · Ben Bolker, Dirk Eddelbuettel

#
Thanks!  Now I see this is in Writing R Extensions, should have 
looked more carefully ...
On 3/5/21 9:00 PM, Andrew Simmons wrote:
#
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