[Rd] Printing digits.secs on data.frame?

2024-07-18 Thread John Muschelli
Is there a way to have printing data.frames with POSIXct to display milliseconds if digits.secs is set as a default? You can use the digits argument in print, such as print(df, digits = 3) to get the intended output, but I assumed it was done with the option digits.secs set. Tibbles by default do

Re: [Rd] Printing digits.secs on data.frame?

2024-07-18 Thread Dirk Eddelbuettel
On 18 July 2024 at 12:14, John Muschelli wrote: | Is there a way to have printing data.frames with POSIXct to display | milliseconds if digits.secs is set as a default? I suspect this would require a change to the corresonding print method. | You can use the digits argument in print, such as p

Re: [Rd] xftrm is more than 100x slower for AsIs than for character vectors

2024-07-18 Thread Kurt Hornik
> Ivan Krylov via R-devel writes: Thanks: I just changed xtfrm.AsIs() as suggested. Best -k > В Fri, 12 Jul 2024 17:35:19 +0200 > Hilmar Berger via R-devel пишет: >> This can be finally traced to base::rank() (called from >> xtfrm.default), where I found that >> >> "NB: rank is not itself

[Rd] I() in merge (was: Re: xftrm is more than 100x slower for AsIs than for character vectors)

2024-07-18 Thread Kurt Hornik
> Hilmar Berger via R-devel writes: Thanks. I just removed the I() as suggested. Best -k > Dear all, > actually, it is not clear to me why there is still a protection of the > added Row.names column in merge using I(). This seems to stem from a > time when R would automatically convert char