New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
dir_ls crashes R 4.2.1 when reading very large directories #447
Comments
Can you show the output, and also the stack trace after the crash? |
well I can't do a traceback because it crashes, here's the Rterm output & Rterm --no-save --no-restore --verbose -e "fs::dir_ls('my/dir/path', recurse R version 4.2.1 (2022-06-23 ucrt) -- "Funny-Looking Kid" R is free software and comes with ABSOLUTELY NO WARRANTY. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'demo()' for some demos, 'help()' for on-line help, or 'verbose' and 'quietly' are both true; being verbose then ..
|
Sorry, I meant a stack trace from a low lever debugger, like gdb or drmingw. |
Hello,
The following command crashes when reading through a directory with dozens of folders and over a 600k total files. I'm not sure what the inflection point is, but it works fine in similar directory with 100k total files. This problem does not occur in R 4.3.1.
fs::dir_ls(mydir, recurse = T)
The text was updated successfully, but these errors were encountered: