Re: [Rd] Model object, when generated in a function, saves entire environment when saved

2020-01-29 Thread Duncan Murdoch
On 29/01/2020 2:25 p.m., Kenny Bell wrote: Reviving an old thread. I haven't noticed this be a problem for a while when saving RDS's which is great. However, I noticed the problem again when saving `qs` files (https://github.com/traversc/qs) which is an RDS replacement with a fast serialization /

Re: [Rd] Model object, when generated in a function, saves entire environment when saved

2020-01-29 Thread Kenny Bell
Reviving an old thread. I haven't noticed this be a problem for a while when saving RDS's which is great. However, I noticed the problem again when saving `qs` files (https://github.com/traversc/qs) which is an RDS replacement with a fast serialization / compression system. I'd like to get an idea

Re: [Rd] class() |--> c("matrix", "arrary") -- and S3 dispatch

2020-01-29 Thread Pages, Herve
On 1/27/20 23:51, Martin Maechler wrote: >> Pages, Herve >> on Tue, 21 Jan 2020 17:33:01 + writes: > > > Dear Martin, > > What's the ETA for _R_CLASS_MATRIX_ARRAY_=TRUE to become the new > > unconditional behavior in R devel? Thanks! > > > H. > > Thank you, H

Re: [Rd] matplot.Date & matplot.POSIXct

2020-01-29 Thread Martin Maechler
> Spencer Graves > on Tue, 28 Jan 2020 17:24:14 -0600 writes: > On 2020-01-28 05:13, Martin Maechler wrote: >>> Spencer Graves >>> on Mon, 27 Jan 2020 23:02:28 -0600 writes: > >> >> Still, as Abby mentioned, turning a simple function into the >>

[Rd] Rinternals.h could expose macros for ISNA and ISNAN for CPLXSXP

2020-01-29 Thread Scott Ritchie
Apologies if this has been suggested before (I had a search throug the archives and couldn't find anything). Currently Rinternals.h includes macros for testing whether an Rboolean, int, double, or CHARSXP are NA, and whether a double is NaN. As far as I can tell, no such macro exists for testing w