Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
Description
All file paths in R are wrapped in fs::path_abs(), which handles relative paths, but it doesn't expand ~, so this fails:
> df <- read_parquet("~/Downloads/demofile.parquet") Error in io___MemoryMappedFile__Open(fs::path_abs(path), mode) : IOError: Failed to open local file '~/Downloads/demofile.parquet', error: No such file or directory
This is fixed by using fs::path_real() instead.
Should this be properly handled in C++ though? cc pitrou
Attachments
Issue Links
- links to