"I have simplified the code only to download the sp500 index." Perhaps you have, but you haven't provided any of that simplified code so I'm a little skeptical.
I do have to say though, if you've managed to do it more efficiently than the 12 characters in getSymbols() you are a far better coder than I. Michael On Sun, Aug 28, 2011 at 12:46 PM, Yumin <zpx...@gmail.com> wrote: > Hi Michael: > > I have simplified the code only to download the sp500 index. How to > correct this simple codes. > > -- > View this message in context: > http://r.789695.n4.nabble.com/How-download-Yahoo-Quote-tp3769563p3774672.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. > [[alternative HTML version deleted]] ______________________________________________ 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.