I am trying to load a data frame in R, which contains the Danish letters Æ, Ø and Å, in some of the column names (Not the values of the columns).
Once in the correct working directory I use the load function:
load("DM_OLS_1_new.rdata")
It loads the data into a data frame that looks fine, except for the column names containing the above mentioned letters. E.g. the column name
"KOMMUNE_ALLERØD"
is loaded as
"KOMMUNE.ALLER\xd8D "
I am pretty sure that the problem is not in the file, since it can be loaded correctly on other computers running windows. I am running Xubuntu. I have tried changing Encoding to ISO-8859-1 and WINDOWS-1252 but it doesnt change anything.