Re: [Rd] certain pipe() use cases not working in r-devel

2024-02-17 Thread Jennifer Bryan
I've now tested with: > R.version.string [1] "R Under development (unstable) (2024-02-16 r85931)" and all of the previously mentioned examples now work as expected on macOS. Thanks for the quick fix, Jenny On Thu, Feb 15, 2024 at 8:02 AM Tomas Kalibera wrote: > > On 2/14/24 23:43, Jennifer

Re: [R-pkg-devel] Unusually long execution time for R.utils::gzip on r-devel-windows

2024-02-17 Thread Kevin Ushey
FWIW, as far as I can tell, Sys.readlink() still doesn't handle symlinks (or junction points) on Windows. Were you thinking of normalizePath()? That does now resolve both symlinks and junction points on Windows (courtesy of a lot of work from Tomas), although I don't recall the exact versions in

Re: [R-pkg-devel] Conversion failure in 'mbcsToSbcs'

2024-02-17 Thread Duncan Murdoch
At line 66 of your document, you have this chunk: <>= rm(list=ls()) @ That removed the device. You need to put its definition after that. (It might also need to come earlier if you're doing plotting before this, and again even later if you remove it again.) By the way, I'd recommend using

Re: [R-pkg-devel] Conversion failure in 'mbcsToSbcs'

2024-02-17 Thread Package Maintainer
Dear Ivan: Thank you for your help again. Thanks for your suggestion to use cairo_pdf() instead of pdf() to allow for the multi-lingual plots. I incorporated your advice and added the the code you suggested: <>= my.Swd <- function(name, width, height, ...) grDevices::cairo_pdf( filename =

Re: [R-pkg-devel] Unusually long execution time for R.utils::gzip on r-devel-windows

2024-02-17 Thread Stefan Mayer
> On 17. Feb 2024, at 09:16, Henrik Bengtsson > wrote: > > I can confirm that this has to fixed in R.utils. This gist is that > R.utils does lots of validation of read/write permissions, and deep > down it rely on system("dir") as a fallback method. If this is down > toward

Re: [Rd] as.roman upper limit

2024-02-17 Thread Kurt Hornik
> Jonathan Carroll writes: Thanks. Fascinating ... I strongly suspect that when I wrote the code in 2006 the docs said the largest possible number was 3899. Of course, I should have added a comment on this with a pointer to the docs ... In any case, clearly

Re: [R-pkg-devel] Unusually long execution time for R.utils::gzip on r-devel-windows

2024-02-17 Thread Henrik Bengtsson
I can confirm that this has to fixed in R.utils. This gist is that R.utils does lots of validation of read/write permissions, and deep down it rely on system("dir") as a fallback method. If this is down toward dirname(tempdir()), then it'll find a lot of files, e.g. [1] " Datenträger in