[Rd] missing news entry?

2018-07-18 Thread Benjamin Tyner
Hi, Unless I am mistaken, this enhancement to gc(): r73749 | luke | 2017-11-18 13:26:25 -0500 (Sat, 18 Nov 2017) | 2 lines Added 'full' argument to gc() with default 'TRUE' for now. ---

Re: [Rd] base::mean not consistent about NA/NaN

2018-07-18 Thread Tomas Kalibera
Yes, the performance overhead of fixing this at R level would be too large and it would complicate the code significantly. The result of binary operations involving NA and NaN is hardware dependent (the propagation of NaN payload) - on some hardware, it actually works the way we would like - NA

Re: [Rd] MARGIN in base::unique.matrix() and base::unique.array()

2018-07-18 Thread Kurt Hornik
> Hervé Pagès writes: Thanks for spotting this. With c74978 I just committed, we now get R> unique(matrix(1:10, ncol=2), MARGIN=1:3) Error in unique.matrix(matrix(1:10, ncol = 2), MARGIN = 1:3) : MARGIN = 1,2,3 is invalid for dim = 5,2 Calls: unique -> unique.matrix R> unique(matr

Re: [Rd] Output mis-encoded on Windows w/ RGui 3.5.1 in strange case

2018-07-18 Thread Kevin Ushey
Thank you for the quick fix! I could've sworn the 'save()' dance was a necessary part of the reproducible example, but evidently not ... On Wed, Jul 18, 2018 at 6:38 AM Tomas Kalibera wrote: > > Fixed in R-devel and R-patched, > Tomas > > On 07/18/2018 12:03 PM, Tomas Kalibera wrote: > > Thanks, I

Re: [Rd] Tiny bug in lm()?

2018-07-18 Thread Martin Maechler
> Brett Presnell > on Sun, 24 Jun 2018 13:57:04 +0100 writes: > I meant ncol(y) of course. > Brett Presnell writes: >> I suppose that this never affects anything, but in line >> 57 of lm.R, where the coefficients are defined for an >> empty model, when y is a ma

Re: [Rd] Output mis-encoded on Windows w/ RGui 3.5.1 in strange case

2018-07-18 Thread Tomas Kalibera
Fixed in R-devel and R-patched, Tomas On 07/18/2018 12:03 PM, Tomas Kalibera wrote: > Thanks, I can now reproduce and it is a bug that is easy to fix, I > will do so shortly. > > Fyi it can be reproduced simply by running these two lines in Rgui: > > list() > encodeString("apple") > > Best > Toma

Re: [Rd] Output mis-encoded on Windows w/ RGui 3.5.1 in strange case

2018-07-18 Thread Tomas Kalibera
Thanks, I can now reproduce and it is a bug that is easy to fix, I will do so shortly. Fyi it can be reproduced simply by running these two lines in Rgui: list() encodeString("apple") Best Tomas On 07/17/2018 05:16 PM, Kevin Ushey wrote: > Sorry, I should have been more clear -- if I write the