On Tue, Nov 14, 2017 at 8:09 AM, Robert Sherry <[email protected]> wrote: > > I am using version 3.4.2 of R and I run the following two commands: > library(quantmod) > x=getQuote( "XOM" ) > and get the following error messages: > > Error in download.file(paste("https://finance.yahoo.com/d/quotes.csv?s=", : > cannot open URL > 'https://finance.yahoo.com/d/quotes.csv?s=XOM&f=d1t1l1c1p2ohgv' > In addition: Warning message: > In download.file(paste("https://finance.yahoo.com/d/quotes.csv?s=", : > cannot open URL > 'https://finance.yahoo.com/d/quotes.csv?s=XOM&f=d1t1l1c1p2ohgv': HTTP status > was '403 Forbidden' > > What should I do? > Search open issues (the function name and portion(s) of the error are usually good search terms): https://github.com/joshuaulrich/quantmod/issues/
And report a new issue if someone else already hasn't. In this case, it's already been reported and I'm working on a fix: https://github.com/joshuaulrich/quantmod/issues/197 > Bob > > _______________________________________________ > [email protected] 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 _______________________________________________ [email protected] 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.
