Hack to to include special characters in file path in haven::read_sav()
问题 There seems to be an issue with the haven (1.1.1) package when including any type of special character in the file path, including just the file name. Assuming this is a real issue I am looking for some kind of neat hack/solution to get around it. An (not ideal) example would be to have R take a copy of the file into a more friendly path and give it a "better" filename and then load with haven. Such as: setwd("c:/temp") fn <- "randóóm.sav" file.copy(paste0("./äglæpath/", fn), fn) file.rename