Re: [Rd] head.matrix can return 1000s of columns -- limit to n or add new argument?

2019-09-16 Thread Pages, Herve
Hi, Alternatively, how about a new glance() generic that would do something like this: > library(DelayedArray) > glance <- DelayedArray:::show_compact_array > M <- matrix(rnorm(1e6), nrow = 1000L, ncol = 2000L) > glance(M) <1000 x 2000> matrix object of type "double": [,1]

[Rd] Maybe bug? Using non-integer frequencies in stats::ts

2019-09-16 Thread Johann R. Kleinbub
I am developing a package to analyse physiological time-series and I thought that the most reliable and robust solution was to base it on the native stats::ts class. In my domain it is common to express series frequencies as samples-per-second. So ts(..., frequency=10) would mean a signal sampled 1

Re: [Rd] [External] REprintf could be caught by tryCatch(message)

2019-09-16 Thread Jan Gorecki
Thank you Luke, I filled https://bugs.r-project.org/bugzilla/show_bug.cgi?id=17612 Best, Jan On Mon, Sep 16, 2019 at 2:15 AM Tierney, Luke wrote: > > You can file it as a wishlist item in the bug trackign system. Without > a compelling case or a complete and well tested patch or both I doubt > i

Re: [Rd] head.matrix can return 1000s of columns -- limit to n or add new argument?

2019-09-16 Thread Michael Chirico
Awesome. Gabe, since you already have a workshopped version, would you like to proceed? Feel free to ping me to review the patch once it's posted. On Mon, Sep 16, 2019 at 3:26 PM Martin Maechler wrote: > > Michael Chirico > > on Sun, 15 Sep 2019 20:52:34 +0800 writes: > > > Final

Re: [Rd] Error: package or namespace load failed for ‘utils

2019-09-16 Thread Martin Maechler
> Laurent Gautier > on Sun, 15 Sep 2019 15:01:09 -0400 writes: > In case a search engine leads someone with the same issue > here, I am documenting the point I reached: > I can reproduce the issue with a small example when > forcing R to not load any package at startu

Re: [Rd] head.matrix can return 1000s of columns -- limit to n or add new argument?

2019-09-16 Thread Martin Maechler
> Michael Chirico > on Sun, 15 Sep 2019 20:52:34 +0800 writes: > Finally read in detail your response Gabe. Looks great, > and I agree it's quite intuitive, as well as agree against > non-recycling. > Once the length(n) == length(dim(x)) behavior is enabled, > I d

Re: [Rd] Printing chinese characters (UTF-8) on R 3.5.2 -windows 10

2019-09-16 Thread Ray Donnelly
On Fri, Sep 13, 2019 at 1:46 PM Tomas Kalibera wrote: > On 9/13/19 1:33 PM, Ray Donnelly wrote: > > On Fri, Sep 13, 2019 at 11:53 AM Tomas Kalibera > wrote: > >> On 9/13/19 11:37 AM, IAGO GINÉ VÁZQUEZ wrote: >> > But if I type >> > >"會" >> > the output is >> > [1] "會" >> > so seemingly it can be

Re: [Rd] Printing chinese characters (UTF-8) on R 3.5.2 -windows 10

2019-09-16 Thread Ray Donnelly
On Fri, Sep 13, 2019 at 11:53 AM Tomas Kalibera wrote: > On 9/13/19 11:37 AM, IAGO GINÉ VÁZQUEZ wrote: > > But if I type > > >"會" > > the output is > > [1] "會" > > so seemingly it can be represented. Or, am I wrong? > > In RGui you can print the string, because RGui is a Windows Unicode > applica