Re: [Rd] a quick and dirty way to compile R on win arm64 using clangarm64

2023-08-13 Thread yu gong
>Well, yes, R-devel builds with clang/flang also for Windows/aarch64. I've >committed this option (USE_LLVM) last week together with other required >changes, > but it is still work in progress, not documented nor well tested. > I have created for this a (subset) of Rtools43 for >aarch64 (availa

Re: [Rd] a quick and dirty way to compile R on win arm64 using clangarm64

2023-08-13 Thread Tomas Kalibera
On 8/13/23 05:14, yu gong wrote: hello everyone: On this boring weekend, I tried compile R-trunk on windows 11 arm64 using clangarm64+msys2 on macbook m1 , it surprisingly easy to compiled and run. more investigation and test and code modify need to be done ,but IMO this is a good beginni

Re: [Rd] R-4.3 version list.files function could not work correctly in chinese

2023-08-13 Thread Ivan Krylov
Found it! Looks like a buffer length problem. This isn't limited to Chinese, just more likely to happen when a character takes three bytes to represent in UTF-8. (Any filename containing characters which take more than one byte to represent in UTF-8 may fail.) If a directory contains a file with a

Re: [Rd] R-4.3 version list.files function could not work correctly in chinese

2023-08-13 Thread yu gong
Could you test it on RGui and Rterm first, see it work or not. then try RStudio? From: R-devel on behalf of 叶月光 Sent: Friday, August 11, 2023 11:41 To: r-devel@r-project.org Subject: [Rd] R-4.3 version list.files function could not work correctly in chinese

Re: [Rd] R-4.3 version list.files function could not work correctly in chinese

2023-08-13 Thread yu gong
I am afraid this issue a bite more complicated. Test Rgui and Rterm 4.3.1 and svn trunk on Windows 10 x64 (build 19044) , Chinese file name shows correctly (file content ANSI or UTF-8 ). I saw OP picture (using Rstudio), maybe this is Rstudio issues? From: R-d

Re: [Rd] R-4.3 version list.files function could not work correctly in chinese

2023-08-13 Thread Ivan Krylov
Dear 叶月光, I believe you that there's a problem with list.files() and file names in Chinese. There is no need for additional proof. Unfortunately, it's impossible to fix the problem unless its source is found: https://www.chiark.greenend.org.uk/~sgtatham/bugs-cn.html Can you give me more examples