【发布时间】:2018-05-30 19:26:29
【问题描述】:
我想在 R 中读取来自 google drive 的数据集作为 screenshot 表示。
都没有
url <- "https://drive.google.com/file/d/1AiZda_1-2nwrxI8fLD0Y6e5rTg7aocv0"
temp <- tempfile()
download.file(url, temp)
bank <- read.table(unz(temp, "bank-additional.csv"))
unlink(temp)
也没有
library(RCurl)
bank_url <- dowload.file(url, "bank-additional.csv", method = 'curl')
有效。
我已经为此工作了好几个小时。任何提示或解决方案将不胜感激。
【问题讨论】:
-
使用 tidyverse 中的
googledrive库怎么样? googledrive.tidyverse.org