Displaying 3 results from an estimated 3 matches for "r_readdir".
Did you mean:
__readdir
2023 Aug 12
2
R-4.3 version list.files function could not work correctly in chinese
...present in both lists.)
In order to find out what's wrong, it will be needed to download the R
source code and compile it [*], install gdb using pacman (part of
Rtools), then set a breakpoint on the list_files function from
src/main/platform.c and step through it [**], paying attention to the
R_readdir calls. Do the missing file names not even come out from
FindNextFile()? Are they somehow skipped around the time of regex match?
(I could help with the details of this, maybe off-list, if there's
interest.)
Unless Tomas Kalibera is able to deduce the root cause from the
observed symptoms, som...
2023 Aug 11
3
R-4.3 version list.files function could not work correctly in chinese
????
????R-4.3???????????R??????list.files??????????????????????BUG????????????????????????????
r4.3????dir????????????????? - COS??? | ?????? | ?????????????? (cosx.org)<https://d.cosx.org/d/424356-r43ban-ben-zhong-dirhan-shu-huo-qu-bu-liao-quan-bu-wen-jian/11>
???????????????????????
[[alternative HTML version deleted]]
2023 Aug 12
2
R-4.3 version list.files function could not work correctly in chinese
Yes, I participated in the discussion. Basically dir() failed to list all
files since R 4.3.0 when filenames start with Chinese characters. I don't
have a Windows machine to test it, but this might be a minimal reproducible
example:
file.create("????.R")
dir()
The OP said dir() would return "????.R" in R.4.2.2 but not in R 4.3.0. In
the same discussion another person