the code you posted works well except that when i am using chartSeries() it does not give any graphical stuff:
>chartSeries(P,type="auto") >Error in if (on == "years") { : missing value where TRUE/FALSE needed i also tried to store the entire getQuote output (OHLC object) by the above manner but it then reads the number in a format (i guess character) unsupported by the chartSeries(). -- View this message in context: http://r.789695.n4.nabble.com/quantmod-package-tp3921071p3947026.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org 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.