rstudio / rstudioapi

Safely access RStudio's API (when available)
http://rstudio.github.io/rstudioapi
Other
165 stars 35 forks source link

Import Dataset from Text(base) does not work properly for file encoding which is different from encoding of system #264

Open locherx opened 1 year ago

locherx commented 1 year ago

RStudio 2022.07.1 Build 554 (and earlier versions) on Kubuntu 22.04.

Using menu File -> Import Dataset -> from Text(base) for LATIN1 (see attachement) translates to DF <- read.csv("barplot1-latin-1.csv", encoding="LATIN1", sep=";") instead of (the more useful) DF <- read.csv("barplot1-latin-1.csv", fileEncoding="LATIN1", sep=";")

fileEncodingLatin1