i load data
read.table("path.txt", sep = "\t", header=TRUE, fileEncoding="UCS-2")
it contains three rows
x x2
MAKFA МАКФА
makar макароны
макар. макароны
but i get the warning
incomplete final line found by readTableHeader on
and as output my dataset (real incomplete)
x x2
1 MAKFA МА
how to fix this problem (i need work only with .txt)
structure(list(x = structure(1L, .Label = "MAKFA", class = "factor"),
x2 = structure(1L, .Label = "МА", class = "factor")), .Names = c("x",
"x2"), class = "data.frame", row.names = c(NA, -1L))
solutuion here 'Incomplete final line' warning when trying to read a .csv file into R doesn't work