In R Documentation for fread (), he said that the argument "input" could be a URL starting with http: // or file: //. However, in this introduction to data.table, "vignette fread () is used with https:
flights <- fread("https://raw.githubusercontent.com/wiki/arunsrinivasan/flights/NYCflights14/flights14.csv")
This results in the error "Error in file download.file (input, tt, mode =" wb "): unsupported URL for console message.
I canβt figure out how to make it work. I tried parameter settings (download.file.method = "curl") or "auto", but nothing helps.
What am I doing wrong?
Krome source share