duplicate ‘row.names’ are not allowed

Error in read.table(file = file, header = header, sep = sep, quote = quote, : duplicate ‘row.names’ are not allowed

0

Hello everyone. I am trying to read a URL link via R by typing x <- read.csv(url(“URL….”))
it seems there is a duplicate i just don’t know how to solve this problem.
I also tried doing it through these steps:

url <- “URL….”
destfile <- “the destination of the the file”
download.file(url,destfile)

this works but it downloads a file that wont open in R, gives an error of a binary file.

Thanks!


error


URL

• 29 views

updated 1 hour ago by

&utrif;

30

written 2 hours ago by

0

Read more here: Source link

Tagged