Error in read.table(file = file, header = header, sep = sep, quote = quote, : duplicate 'row.names' are not allowed
0
0
Entering edit mode
3.1 years ago
JACKY ▴ 160

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!

URL R • 1.4k views
ADD COMMENT
0
Entering edit mode

what is the link to the file?

ADD REPLY
0
Entering edit mode

It will be difficult to help you if you don't provide the url you want to open

ADD REPLY

Login before adding your answer.

Traffic: 1984 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6