hi
I think this already a closed topic since you figure it out yourself.
but you can always try to fetch data from Google docs (first make the
spreadsheet public) and then writing this snippet:


library(RCurl)
u="https://docs.google.com/spreadsheet/pub?hl=en_US&hl=en_US&key=0As6HUAxhy0Q7dDB0bjh4T2RyS3pIQkdXdGc2U0ZZc3c&single=true&gid=0&output=csv";

content = getBinaryURL(u, ssl.verifypeer = FALSE)
tmp = tempfile()
write(rawToChar(content), file = tmp)
mydata<- read.csv(gzfile(tmp))
mydata

it works for me and hopefully it'll work nor newbies like me too :)

--
View this message in context: 
http://r.789695.n4.nabble.com/Accessing-data-via-url-tp3178094p3853451.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to