Reading a txt file separated by "¬" in R

44 views Asked by At

I'm trying to read a txt file in R with read.table. The data is separated with an ¬, but I have a problem with all the column names and the data read, I think it doesn't properly recognize that character.

data <- read.table(file="SB11_20191.TXT", sep="¬", quote="", header = TRUE)

The problem I get is that all the read cells have a rare character "Â" at the end.

For example: VAR_1Â

I don't know which function should I use for importing the data with that particular character.

Thanks!

0

There are 0 answers