Hi y'all,

I'm using quantmod's getSymbols function, which retrieves data in XTS
format.

I'm trying to pass "IBM" into the "ticker" variable, then write the table
referencing "ticker."  However, when I run the write.table command, it
writes "IBM", not the data inside IBM.

Do you have any thoughts on how to fix this?  I imagine it's a simple
change.

Thank you much!

ticker="IBM"
getSymbols(ticker,from='1990-01-01')
write.table(ticker,file="deleteme.csv", col.names=FALSE, sep=',')
write.table(as.data.frame(ticker),file="deleteme2.csv", col.names=FALSE,
sep=',')

-- 
Yan Wu
510-333-3188 <http://bigkidsbighearts.org>
yannikin@gmail.com

	[[alternative HTML version deleted]]

