4
我试图从URL
有auth
阅读R
一个CSV
读R A CSV,我有密码和一切我只需要知道如何添加到命令,顺便说一句我的密码不包括@
焦炭所以它搞砸了我的方案[1]
如何从HTTP与AUTH
这是我想要的命令:
products <- read.csv("http://username:[email protected]@domain.com/api/products_by_date.csv?start_date=2011-04-01&end_date=2011-04-01", head=TRUE)
我的输出是:
Error in file(file, "rt") : cannot open the connection
In addition: Warning message:
In file(file, "rt") : unable to resolve 'username'
[1] scheme://username:[email protected]:port/path?query_string#fragment_id