Download a file from HTTPS using download.file()

后端 未结 9 1593
庸人自扰
庸人自扰 2020-11-28 07:38

I would like to read online data to R using download.file() as shown below.

URL <- \"https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fs         


        
9条回答
  •  时光取名叫无心
    2020-11-28 07:57

    Try following with heavy files

    library(data.table)
    URL <- "http://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv"
    x <- fread(URL)
    

提交回复
热议问题