I have a simple CSV file which was created in R using
write.csv(exportChoice, file="exportChoice.csv")
When I read this file using
exportChoice <- read.csv(file = "exportChoice.csv", header=TRUE, row.names=1)
I get the error message:
Error in scan(file, what = "", sep = sep, quote = quote, nlines = 1:
invalid 'sep' value: must be one byte
but I am certain that I only have a single comma separator.
When I open this CSV file in Microsoft Word, I see that my row and column names are surrounded by quotation marks, for some reason. Could this be the problem with reading the file? How do I solve it?