Re: [R] Problems downloading file

2012-03-15 Thread ualfes
Hi Pete, I have got the same problem on Windows Vista, but I found a solution from the docu: setInternet2(use = TRUE) seems to be necessary before download.file to make R be able to use some special dll from internet explorer. Ulrich -- View this message in context: http://r.789695.n4.nabble.

Re: [R] Problems downloading file

2012-03-01 Thread R. Michael Weylandt
It might be a local network or OS issue: this works fine for me on my personal Mac download.file(url = "http://ir.eia.gov/wpsr/psw09.xls";, destfile = "~/herewego.xls", mode = "wb") Someone with more Windows knowledge may have to help you out, but often using IE settings (activated by the setInte

[R] Problems downloading file

2012-03-01 Thread Pete Brecknock
I am running the following line to download data from the US Energy Information Administration. This function has worked successfully for me in the past but yesterday gave the error/warning messages below. If I simply type "http://ir.eia.gov/wpsr/psw09.xls"; (no quotes) into a browser, the file i