-
Notifications
You must be signed in to change notification settings - Fork 60
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
Can't delete files after read by vroom in R session #177
Comments
The error you are showing is a TAR file, which vroom does not read, please provide full details of what you are actually doing. |
vroom reads files lazily, the file is initially memory mapped and remains open until all the values in the file have been read in it. If you don't want the lazy reading you can use |
I've got this issue too. If you want the general behaviour of vroom but just want to delete one file, is there a way to manually close it? |
Same issue here. Would like to use vroom in a plumber API to read a csv file that arrives in multipart/form (parsed using Rook). Not being able to delete temporary files means the disk will fill up unless the service is reset periodically. Will need to use readr for now. Minimal example:
|
I can reproduce this, it was due to a very stupid bug in the code I used to check if a file ends with a newline. It is now fixed. |
Sadly this bug appears now in version 1.4.0. Can you bisect it? |
@christian-beckmann if you think there is an issue you will need to open a new issue with a reproducible example that demonstrates it. |
I read some files using vroom in R and after reading them, I received a windows File in Use error. Is this the expected behavior and if so, how can remove the files without dropping the R session?
The text was updated successfully, but these errors were encountered: