Hi,
After updating R and Rstudio, I am no longer able to read files containing Scandinavian letters (æ,ø,å).
I have a folder "New Folder" that includes the following files and folders:
Setting working directory to this folder should allow me to access it's subfolders through Rstudio. However, the special characters are not rendered correctly, and I am not able to access files or folders with these characters.
I tried all solutions mentioned. Same problem persist. Only in the most recent version of Rstudio (2021.09.2 Build 382). I will downgrade Rstudio.
The curious thing is that when using R-Rgui, everything works fine. So this is clearly a Rstudio issue. Many users are reporting the same issue across the message board.
I downgraded to RStudio 2021.09.1+372 "Ghost Orchid" Release (8b9ced188245155642d024aa3630363df611088a, 2021-11-08) for Windows
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) QtWebEngine/5.12.8 Chrome/69.0.3497.128 Safari/537.36
Now it is working as expected. So clearly something with the most recent 09.2 version. This information in sessionInfo is what differs: "system code page: 65001"
Session info and code:
R version 4.1.2 (2021-11-01)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
Still this is a pretty annoying issue since it forces me to modify code that has been working for years now.
Not the only issue connected to the latest update.
I can report the exact same problem. However, creating the folders with the letters å, ä, or ö from within RStudio works fine. But saving and loading from the folders is not possible.
dir.create("fold_ö") # Creating folder works fine
var <- 1:10
save(object = var, file = "fold_ö/var.RData")
# Manually move file to fold_ö
load("fold_ö/var.RData")
R version: 4.1.2 (2021-11-01)
RStudio version: 2021.09.2+382 "Ghost Orchid" for Windows
Platform: x86_64-w64-mingw32
Since my University’s OneDrive file path includes the letter “ö”, this is really troublesome for me
Maybe you guys already know this, but it seems like downgrading and workarounds aren’t necessary anymore. This issue is fixed in the latest daily version ("Ghost Orchid" 2021.09.3+385 by the time of writing this).