[R-SIG-Finance] quantmod getSymbols() failing on Yahoo

Joshua Ulrich josh.m.ulrich at gmail.com
Thu Apr 20 20:01:09 CEST 2017


On Thu, Apr 20, 2017 at 12:59 PM, Keith Sabol <sabolkj at gmail.com> wrote:
> I've been using getSymbols() to retrieve data from Yahoo for some time
> without difficulty.  Recently, I've been getting this error:
>
> getSymbols("IBM")
> Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,
>  :
>   cannot open URL '
> http://ichart.finance.yahoo.com/table.csv?s=IBM&a=0&b=01&c=2007&d=3&e=20&f=2017&g=d&q=q&y=0&z=IBM&x=.csv
> '
>
>
> Pasting this url into my browser works as expected:
>
> https://ichart.finance.yahoo.com/table.csv?s=IBM&a=0&b=01&c=2007&d=3&e=20&f=2017&g=d&q=q&y=0&z=IBM&x=.csv
>
>
> Can someone suggest how I might find/edit the line in the quantmod code
> that would enable me to to switch to HTTPS until the package catches up?
>
The package caught up yesterday.  You need to upgrade to quantmod 0.4-8 on CRAN.

> Thanks, in advance, for any assistance.
>
> Keith
>
>         [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.



-- 
Joshua Ulrich  |  about.me/joshuaulrich
FOSS Trading  |  www.fosstrading.com
R/Finance 2017 | www.rinfinance.com



More information about the R-SIG-Finance mailing list