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

_______________________________________________
R-SIG-Finance@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.

Reply via email to