[R] Unusual behaviour get.hist.quote

From: Jerry Pressnell <jpressnell_at_westnet.com.au>
Date: Mon 22 Jan 2007 - 10:10:50 GMT

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  


Jerry Pressnell  

        [[alternative HTML version deleted]]

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Mon Jan 22 21:14:41 2007

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Mon 22 Jan 2007 - 12:30:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.