Re: [Rd] Bracketed paste issues on Linux

2021-06-15 Thread Voeten, C.C.
amounts of text, but I understand that this may be technically infeasible (and/or, quite simply, unimportant!). Cesko > -Original Message- > From: Tomas Kalibera > Sent: Tuesday, June 15, 2021 11:11 AM > To: Prof Brian Ripley ; Voeten, C.C. > ; r-devel@r-project.org > Subje

Re: [Rd] Bracketed paste issues on Linux

2021-06-13 Thread Voeten, C.C.
pt = drop.intercept)) control$scalePenalty,") but if I press return and type the closing "}" the code has actually arrived just fine. The text up to and including that line is 4023 bytes in size; when trying to add in more, it fails again. Cesko Van

Re: [Rd] problem adding gdb to RTOOLS40 on Windows

2021-04-14 Thread Voeten, C.C.
Hi Mark, Try pacman -Suy first to update pacman's package database. It's quite possible that the versions pacman is trying to install are no longer available due to being out of date. HTH, Cesko -Original Message- From: R-devel On Behalf Of Bravington, Mark (Data61, Hobart) Sent: Thu

Re: [Rd] suggestion: "." in [lsv]apply()

2020-04-16 Thread Voeten, C.C.
Such a helper already exists in magrittr, which allows you to compose anonymous functions like so: library(magrittr) sapply(1:10,. %>% add(4)) That said, I'm all for this being able to be shortened to sapply(1:10,add(.)), but that would require language support, as Serguei asks for. Languages s

[Rd] Rscript -e does not accept newlines under Linux?

2018-09-17 Thread Voeten, C.C.
Hello, I have found what I believe to be a bug in the Linux version of the Rscript binary. Under Windows (official 64-bit 3.5.1 R distribution running on an up-to-date Win10), I can do the following (e.g. under powershell): PS H:\Users\Cesko> Rscript -e 'ls() >> ls()' character(0) character(0)