Re: [Rd] compile question

2015-11-26 Thread peter dalgaard
If you do want to play with maintainer-mode, first check out https://developer.r-project.org/R-build-prerelease it is what is done in the nightly builds on OSX. (Actually Mavericks. The comment is old.) -pd On 26 Nov 2015, at 14:38 , Michael Felt wrote: > On 2015-11-23 23:43, peter dalgaard

Re: [Rd] Custom C finalizers for .Call

2015-11-26 Thread luke-tierney
We do have a mechanism in the base C code for ensuring that cleanup code is run on longjmps; we wouldn't want to expose that in the API in its current form, but could make a wrapper around it available -- I'll make a note to look into it. But as Simon describes there are good options available for

Re: [Rd] compile question

2015-11-26 Thread Michael Felt
On 2015-11-23 23:43, peter dalgaard wrote: On 23 Nov 2015, at 22:30 , aixtools wrote: ./configure --enable-maintainer-mode ... Two things here - possibly irrelevant, but I'd avoid building in the source directory. (mkdir ../BUILD ; cd ../BUILD; ../R/configure) - don't turn on mantainer mod

[Rd] Inconsistency in treating NaN-results?

2015-11-26 Thread Mark van der Loo
This question is more out of curiosity than a complaint or suggestion, but I'm just wondering. The behavior of R on calculations that result in NaN seems a bit inconsistent. # this is expected: > 0/0 [1] NaN # but this gives a warning > sin(Inf) [1] NaN Warning message: In sin(Inf) : NaNs produc