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
read_*() does not work for special characters in file path #371
Comments
Same (or similar) issue here on Windows 10, R 3.5.0, and haven 1.1.1 dfg <- read_sav("c:/temp/2017.sav", user_na = TRUE)
file.copy("c:/temp/2017.sav", to = "c:/temp/2017óó.sav", overwrite = TRUE)
[1] TRUE
dfg <- read_sav("c:/temp/2017óó.sav", user_na = TRUE)
Error in df_parse_sav_file(spec, user_na) :
Failed to parse c:/temp/2017óó.sav: Unable to open file.
file.rename("c:/temp/2017óó.sav", "c:/temp/2017oo.sav")
[1] TRUE
dfg <- read_sav("c:/temp/2017oo.sav", user_na = TRUE) EDIT: |
Having the same problem (with |
Would be great if someone could confirm this is fixed in the devel version. |
My initial issue is solved in the current dev-version! Works for me. |
It also works for me! |
This old issue has been automatically locked. If you believe you have found a related problem, please file a new issue (with reprex) and link to this issue. https://reprex.tidyverse.org/ |
I can't provide a reprex, I think, but the message should be clear. The problem occurs when the file path contains, e.g., German Umlauts:
Moving the file to a directory without German Umlauts in the file path works.
The text was updated successfully, but these errors were encountered: