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

Keith Sabol sabolkj at gmail.com
Thu Apr 20 22:57:22 CEST 2017

Updating your version of quantmod, as suggested by Josh, should work. Did for me. 


> On Apr 20, 2017, at 1:44 PM, Magicaltats Bianchi <marcolondonuk at gmail.com> wrote:
> I have in fact experienced exactly the same identical situation. Don't really understand where the problem is coming from, let alone figuring out what to do to resolve it! Any suggestions welcome. Marco
>> On 20 Apr 2017 7:00 p.m., "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?
>> 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.

	[[alternative HTML version deleted]]

More information about the R-SIG-Finance mailing list