【发布时间】:2017-02-25 21:28:31
【问题描述】:
虽然this response 似乎有点相关(使用包),但我想知道如何使用 R BASE 导入 csv 文件 可共享的 google drive 链接进入 R studio?
我的 csv 文件中有两列和两列名称(即“dd”和“yy”)。但没有 row.names。
目前,我正在尝试以下 R 代码(没有成功):
myurl <- "https://drive.google.com/file/d/0B5V8AyEFBTmXM1VIYUYxSG5tSjQ/view?usp=sharing"
read.csv(url(myurl), header = T, row.names = F)
我得到的错误是:
Error in read.table(file = file, header = header, sep = sep, quote = quote, :
more columns than column names
【问题讨论】: