Re: [Rd] R on Windows with UCRT and the system encoding

2021-12-21 Thread Hiroaki Yutani
Hi Tomas, Thanks for your prompt reply and spotting the right place. While I'm not good at C/C++ things, I'll try investigating this and, if possible, creating some patch to fix the issue. As the UTF-8 R on Windows is really exciting news to us in CJK locale, I'd like to do my best to help making

Re: [Rd] Feature request: compareVersion

2021-12-21 Thread Duncan Murdoch
On 21/12/2021 9:41 a.m., Sigbert Klinke wrote: Hi, compareVersion returns -1, 0, or 1 rather than TRUE or FALSE which could be used in computing. I'm not sure where you would need the 3 level value, but this would give it to you: (packageVersion("shiny") > "0.11") - (pacageVersion("shiny")

Re: [Rd] R on Windows with UCRT and the system encoding

2021-12-21 Thread Tomas Kalibera
Hi Yutani, On 12/21/21 3:47 PM, Hiroaki Yutani wrote: Hi Tomas, Thank you very much for the detailed explanation! I think now I have a bit better understanding on how the things work; at least now I know I didn't understand the concept of "active code page". I'll follow your advice when I need

Re: [Rd] R on Windows with UCRT and the system encoding

2021-12-21 Thread Hiroaki Yutani
Hi Tomas, Thank you very much for the detailed explanation! I think now I have a bit better understanding on how the things work; at least now I know I didn't understand the concept of "active code page". I'll follow your advice when I need to fix the packages that need some tweaks to handle UTF-8

Re: [Rd] Feature request: compareVersion

2021-12-21 Thread Sigbert Klinke
Hi, compareVersion returns -1, 0, or 1 rather than TRUE or FALSE which could be used in computing. Sigbert Am 21.12.21 um 15:19 schrieb Martin Maechler: Hi, currently I have to use compareVersion(as.character(packageVersion("shiny")), "0.11") It would be nice if compareVersion would

Re: [Rd] Feature request: compareVersion

2021-12-21 Thread Martin Maechler
> Hi, > currently I have to use > compareVersion(as.character(packageVersion("shiny")), "0.11") > It would be nice if compareVersion would make the as.character > internally, rather then force the user to do it. > Thanks > Sigbert Well, if you follow the help page examples of packageVersion(

[Rd] Feature request: compareVersion

2021-12-21 Thread Sigbert Klinke
Hi, currently I have to use compareVersion(as.character(packageVersion("shiny")), "0.11") It would be nice if compareVersion would make the as.character internally, rather then force the user to do it. Thanks Sigbert -- https://hu.berlin/sk https://www.stat.de/faqs https://hu.berlin/mmstat

Re: [Rd] R on Windows with UCRT and the system encoding

2021-12-21 Thread Tomas Kalibera
Hi Yutani, On 12/21/21 6:34 AM, Hiroaki Yutani wrote: Hi, I'm more than excited about the announcement about the upcoming UTF-8 R on Windows. Let me confirm my understanding. Is R 4.2 supposed to work on Windows with non-UTF-8 encoding as the system locale? I think this blog post indicates so (