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!
what is the link to the file?
It will be difficult to help you if you don't provide the url you want to open