appreciate! The following is my codes.
> library(quantmod) Loading required package: Defaults Loading required package: xts Loading required package: zoo Attaching package: 'zoo' The following object(s) are masked from 'package:base': as.Date Loading required package: TTR > getSymbols('IBM', from='2010-01-01') [1] "IBM" > write.csv(Cl(IBM), file='ibm-2010-present.csv') > I can open the 'ibm-2010-present.csv' ----- Original Message ----- From: Hasan Diwan-2 [via R] To: Yumin Sent: Sunday, September 11, 2011 11:27 AM Subject: Re: How download to spreadsheet? require(quantmod) getSymbols('IBM', from='2010-01-01') write.csv(Cl(IBM), file='ibm-2010-present.csv') I can open the resulting file in Excel without problems. Depending on your preference, you may want to use write.csv2 instead. On 11 September 2011 06:59, Yumin <[hidden email]> wrote: > The result will display on the R console. BUT how can we also download > them onto > spreadsheet? -- Sent from my mobile device Envoyait de mon telephone mobil ______________________________________________ [hidden email] 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. ------------------------------------------------------------------------------ If you reply to this email, your message will be added to the discussion below: http://r.789695.n4.nabble.com/How-download-to-spreadsheet-tp3805182p3805410.html To unsubscribe from How download to spreadsheet?, click here. -- View this message in context: http://r.789695.n4.nabble.com/How-download-to-spreadsheet-tp3805182p3806207.html Sent from the R help mailing list archive at Nabble.com. [[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.