[R] How download to spreadsheet?

Hasan Diwan hasan.diwan at gmail.com
Sun Sep 11 18:26:10 CEST 2011


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 <zpxykm at 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



More information about the R-help mailing list