Re: [Rd] [bug report] Cyrillic letter "я" interrupts script execution via R source function

2018-04-09 Thread Tomas Kalibera
Hi Vladimir, thanks for your report - this was really a bug, now fixed in R-devel and to appear in 3.5.0. Apart from the bug, having source files in UTF-8 and reading them into R on Windows is perfectly fine, you just need to specify that they are in UTF-8. You also need to make sure R is ru

Re: [Rd] [bug report] Cyrillic letter "я" interrupts script execution via R source function

2018-04-09 Thread Tomas Kalibera
Hi Patrick, thanks for your comments on the bug, just to clarify - one could reproduce the bug simply using file() and readLines(). The parser saw a real end of file as (incorrectly) communicated to it by lower level connections code - there is no design issue related in the parser (nor elsew

Re: [Rd] Part of fastpass in 'sort.list' can make sorting unstable

2018-04-09 Thread luke-tierney
Thanks -- fixed in R-devel and R-3-5-branch. luke On Fri, 6 Apr 2018, Suharto Anggono Suharto Anggono via R-devel wrote: In the code of functions 'order' and 'sort.list' in R 3.5.0 alpha (in https://svn.r-project.org/R/branches/R-3-5-branch/src/library/base/R/sort.R), in "fastpass, take adva

Re: [Rd] file.copy(from=Directory, to=File) oddity

2018-04-09 Thread Tomas Kalibera
Thanks for the report, fixed in R-devel. Now we get a warning when copying a directory over a non-directory file is attempted. The target (non-directory) file is left alone. Tomas On 09/08/2017 06:54 PM, William Dunlap via R-devel wrote: When I mistakenly use file.copy() with a directory for