I am trying to read a .tsv (tab-separated value) file into R using a specific encoding. It\'s supposedly windows-1252. And it has a header.
windows-1252
Any sugg
df <- read.delim(~/file_directory/file_name.tsv, header = TRUE) will be working fine for single .tsv file, because it is already tab separated, so no need sep = "\t". fileEncoding= "windows-1252" could be used but not necessary.
df <- read.delim(~/file_directory/file_name.tsv, header = TRUE)
.tsv
sep = "\t"
fileEncoding= "windows-1252"