Вот мой код:
imdb <- read.table(gzfile("/imdb_dataset/title.basics.tsv.gz"), sep = " ")
Ошибка:
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 1 did not have 9 elements
Файл, в котором вы можете увидеть, как разделяются столбцы и т. Д. c.
На самом деле первая строка содержит 9 элементов, так в чем же проблема?
tt0000010 short Exiting the Factory La sortie de l'usine Lumière à Lyon 0 1895 \N 1 Documentary,Short
tt0000011 short Akrobatisches Potpourri Akrobatisches Potpourri 0 1895 \N 1 Documentary,Short
tt0000012 short The Arrival of a Train L'arrivée d'un train à La Ciotat 0 1896 \N 1 Action,Documentary,Short