'How to use read.csv()
I want to read a csv-file with mydata <- read.csv("Mroz.csv") but I get as error:
Fehler in make.names(col.names, unique = TRUE) : ungültige multibyte Zeichenkette bei '<1a>' Zusätzlich: Warnmeldungen: 1: In read.table(file = file, header = header, sep = sep, quote = quote, : line 1 appears to contain embedded nulls 2: In read.table(file = file, header = header, sep = sep, quote = quote, : line 2 appears to contain embedded nulls 3: In read.table(file = file, header = header, sep = sep, quote = quote, : line 3 appears to contain embedded nulls 4: In read.table(file = file, header = header, sep = sep, quote = quote, : line 4 appears to contain embedded nulls 5: In read.table(file = file, header = header, sep = sep, quote = quote, : line 5 appears to contain embedded nulls
I tried to find the encoding with
guess_encoding("Mroz.csv", n_max = 1000)
I get that it is a "windows-1250" encoding. Do you know what to do? My data
Thanks in forward, miau
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
