[Rd] patch: automatically adjust width option when terminal is resized

2017-08-28 Thread Ralf Goertz
Hi, I guess there have been discussions about this in the past and from what I understood hooking an R-function to facilitate automatic adjustment is problematic. So why not doing it like this: --- R-3.4.1/src/unix/sys-std.c 2017-03-24 00:03:59.0 +0100 +++ R-3.4.1/src/unix/sys-std.patche

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

2017-08-28 Thread Владимир Панфилов
Hello, I do not have an account on R Bugzilla, so I will post my bug report here. I want to report a very old bug in base R *source()* function. It relates to sourcing some R scripts in UTF-8 encoding on Windows machines. For some reason if the UTF-8 script is containing cyrillic letter *"я"*, the

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

2017-08-28 Thread Patrick Perry
My understanding (which could be wrong) is that when you source a file, it first gets translated to your native locale and then parsed. When you parse a character vector, it does not get translated. In your locale, every "я" character (U+044F) gets replaced by the byte "\xFF": > iconv("\u044