dir()
and list.files()
list all files names in R version 4.2.3, but not in R version 4.3.2.
What you observe is related to a change in the Windows implementation of list.files
between R versions 4.2.3 and 4.3.0. The issue was reported on one of the mailing lists in August (here). That discussion led to a patch in R-devel (revision 84960), but it is not clear whether the patch solved the issue, because the person who reported the issue did not reply.
It would be great if you could download and install R-devel (here) and verify whether list.files
behaves correctly there. If you do so, then please report your findings here or (ideally) on the mailing list.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With