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.