Re: [Rd] Code Optimization: print.data.frame + as.data.frame(head(x, n = options("max.print")))

2018-07-31 Thread Martin Maechler
> Juan Telleria Ruiz de Aguirre > on Tue, 31 Jul 2018 08:19:33 +0200 writes: > I polished a little bit more the function: > * Used: getOption("max.print") > * Added comment at the end: cat('[ reached getOption("max.print") -- > omitted ', omitted,' rows ]') > I

[Rd] RFC: make as.difftime more consistent or convenient

2018-07-31 Thread dietmar.schindler
Hello! I notice I can convert strings containing hour, minute or second specifications to a 'difftime': > as.difftime("12 h", "%H") Time difference of 12 hours > as.difftime("12 m", "%M") Time difference of 12 mins > as.difftime("12 s", "%S") Time difference of 12 secs But I can't do so with a

Re: [Rd] help building very old R

2018-07-31 Thread peter dalgaard
[Oops, I seem to have managed not to send this yesterday...] Not sure how to fix, but note that configure is not lying to you: > configure:13319: /usr/include/tk8.3/tk.h: No such file or directory tk8.3, not tcl8.3 -pd > On 30 Jul 2018, at 06:35 , David Hugh-Jones wrote: > > Hi guys, > > Pe

Re: [Rd] RFC: make as.difftime more consistent or convenient

2018-07-31 Thread dietmar.schindler
Hello! you, Emil Bode , wrote on Tuesday, July 31, 2018 1:55 PM: > Some of the changes you're proposing could be made (with effort), but note > that you're not > restricted to providing strings with a format. > What you're trying to do can be accomplished with as.difftime(12, > units='weeks'),