An Issue with quantmod
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