On Jul 23, 2013, at 2:59 AM, Daisy Englert Duursma wrote:
> Hello,
> I am trying to use R to download a bunch of .csv files such as:
It's are not a csv file; instead it's a zip file. Why not use the
`download.file` function. This downloads it to my working directory:
> download.file("http://b
Hi Daisy
Use getURLContent() rather than getURL().
The former handles binary content and this appears to be a zip file.
You can write it to a file or read its contents directly in memory, e.g
library(RCurl)
z =
getURLContent("http://biocache.ala.org.au/ws/occurrences/download?q=Banksia+eri
Hello,
I am trying to use R to download a bunch of .csv files such as:
http://biocache.ala.org.au/ws/occurrences/download?q=Banksia+ericifolia
I have tried the following and neither work:
a<- getURL("
http://biocache.ala.org.au/ws/occurrences/download?q=Banksia+ericifolia";)
Error in curlPerfo
3 matches
Mail list logo