[R-SIG-Finance] An Issue with quantmod

Robert Sherry rsherry8 at comcast.net
Tue Nov 14 15:09:04 CET 2017


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?

Bob



More information about the R-SIG-Finance mailing list