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 <zpx...@gmail.com> 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

______________________________________________
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.

Reply via email to