-
Notifications
You must be signed in to change notification settings - Fork 4k
Closed
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 directoryThis is fixed by using fs::path_real() instead.
Should this be properly handled in C++ though? cc @pitrou
Reporter: Neal Richardson / @nealrichardson
Assignee: Neal Richardson / @nealrichardson
PRs and other links:
Note: This issue was originally created as ARROW-6323. Please see the migration documentation for further details.