[Rd] Integrate erros on certain functions

2018-03-23 Thread John Muschelli
In the help for ?integrate: >When integrating over infinite intervals do so explicitly, rather than just using a large number as the endpoint. This increases the chance of a correct answer – any function whose integral over an infinite interval is finite must be near zero for most of that interval

[Rd] Read.dcf with no newline ending: gzfile drops last line

2016-11-14 Thread John Muschelli
I don't know if this is a bug per se, but an undesired behavior in read.dcf. read.dcf takes a file argument and passes it to gzfile if it's a character: if (is.character(file)) { file <- gzfile(file) on.exit(close(file)) } This gzfile connection is passed to readLines (line

Re: [Rd] Floating Point with POSIXct

2022-03-03 Thread John Muschelli
would round to 1:59:59.00 On Thu, Mar 3, 2022 at 2:38 PM Duncan Murdoch wrote: > On 03/03/2022 11:52 a.m., Martin Maechler wrote: > >>>>>> John Muschelli > >>>>>> on Thu, 3 Mar 2022 11:04:05 -0500 writes: > >>>>>> Joh

[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