Re: [Rd] Possible bug in package installation when R_ICU_LOCALE is set

2018-04-25 Thread Korpela Mikko (MML)
(Belated) thanks for the confirmation, Ista. I just reported this issue on the R bug tracker: https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17412 Best regards, - Mikko -Alkuperäinen viesti- Lähettäjä: Ista Zahn [mailto:istaz...@gmail.com] Lähetetty: 7. helmikuuta 2018 17:05 Vast

Re: [Rd] readLines() for non-blocking pipeline behaves differently in R 3.5

2018-04-25 Thread Michael Lawrence
Probably related to the switch to buffered connections. I will look into this soon. On Wed, Apr 25, 2018 at 2:34 PM, Randy Lai wrote: > It seems that the behavior of readLines() in R 3.5 has changed for > non-blocking pipeline. > > > Consider the following R script, which reads from STDIN line b

Re: [Rd] Bug in RScript.exe for 3.5.0

2018-04-25 Thread Tomas Kalibera
Thanks for the report. A quick workaround before this gets fixed is to add an extra first argument that has no space in it, e.g. Rscript --vanilla "foo bar.R" The problem exists on all systems, not just Windows. Best Tomas On 04/25/2018 09:55 PM, Kerry Jackson wrote: Hi R Developers, I have

[Rd] readLines() for non-blocking pipeline behaves differently in R 3.5

2018-04-25 Thread Randy Lai
It seems that the behavior of readLines() in R 3.5 has changed for non-blocking pipeline. Consider the following R script, which reads from STDIN line by line. ``` con <- file("stdin") open(con, blocking = FALSE) while (TRUE) {     txt <- readLines(con, 1)     if (length(txt) > 0) {         cat

[Rd] extendrange(): suggested improvement

2018-04-25 Thread Marius Hofert
Hi, I often need to extend the plot range to the right, but not to the left (for example: not below 0 so that log = "x" still works...). This could be a handy improvement of extendrange(): --- utils.R 2015-08-25 18:18:20.0 -0400 +++ utils.R 2018-04-25 17:21:25.0 -0400 @@ -30,6 +30

[Rd] Bug in RScript.exe for 3.5.0

2018-04-25 Thread Kerry Jackson
Hi R Developers, I have found what I think is a bug in the RScript.exe in version 3.5.0 of R for Windows. When I call Rscript.exe for Version 3.5 of R, it is unable to open the file if the file name or path has a space in it. As an example of what happens, I saved 2 files with the code: cat("What