this was expected to be much easier but I cannot get it done in R. I have a very simple file which contains some information stored as strings. There is also a currency tab, which contains characters like "$" or "£".
I use the following to import the file, wich works fine:
x <- read.csv("C:/file_information.csv", sep = ";", stringsAsFactors = F,
row.names = 1, header = F)
The file has a structure like this (it contains also NAs):
matrix(c("A","B","","","£", "$","D","E","C"),3,3)
How can I import this file correctly? I tried to play around with the fileEncoding
option, but could not get it done.
The csv was originally created from excel 2013 (comma delimited csv).
Surprisingly dollar signs are displayed correctly but for pound signs there is a question mark in a black square instead.