I have been running this script regularly for some time. This morning the
following error message appeared.
Any suggestions to correct this change would be appreciated.
EWL<-get.hist.quote("EWL",start=(today <-
Sys.Date())-350,quote="Cl")
trying URL 'http://chart.yahoo.com/table.csv?s=EWL&a=1&b&c
06&d=0&e!&f
07&g=d&q=q&y=0&z=EWL&x=.csv'
Content type 'text/csv' length unknown
opened URL
downloaded 11Kb
Error in if (dat[n] != start) cat(format(dat[n], "time series starts
%Y-%m-%d\n")) :
missing value where TRUE/FALSE needed
Regrds
Jerry Pressnell
[[alternative HTML version deleted]]
Jerry Pressnell wrote:> I have been running this script regularly for some time. This morning the > following error message appeared.> EWL<-get.hist.quote("EWL",start=(today <- Sys.Date())-350,quote="Cl")> Error in if (dat[n] != start) cat(format(dat[n], "time series starts > %Y-%m-%d\n")) : > > missing value where TRUE/FALSE needed >Looks like this has happened before and spontaneously fixed itself then: http://www.mail-archive.com/r-help at stat.math.ethz.ch/msg77866.html http://www.mail-archive.com/r-help at stat.math.ethz.ch/msg77869.html "Now working, must have been a Yahoo! issue." Barry