On Mon, 2012-04-23 at 11:03 -0400, R. Michael Weylandt wrote:
> In addition to what's been said, you could much more easily write:
> 
> GSPC <- getSymbols("^GSPC", from = "2000-01-01", auto.assign = F) 

I'll make it simpler still...

getSymbols("^GSPC", from = "2000-01-01")

which will create object 'GSPC' and avoids the frowned upon use of 'F'
for FALSE (which can easily collide with a variable)

Regards,

   - Brian

-- 
Brian G. Peterson
http://braverock.com/brian/
Ph: 773-459-4973
IM: bgpbraverock

_______________________________________________
R-SIG-Finance@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-sig-finance
-- Subscriber-posting only. If you want to post, subscribe first.
-- Also note that this is not the r-help list where general R questions should 
go.

Reply via email to