[R] character string as object name
Waclaw.Marcin.Kusnierczyk at idi.ntnu.no
Thu Mar 5 17:33:48 CET 2009
Fuchs Ira wrote:
> Can someone please tell me why the following (last line) doesn't work
> (as I expect it to :-)
> a = getSymbols("MSFT",from="2009-3-01")
> Why does this last line not work the way the earlier eval does?
because eval(as.name(b)) looks for `MSFT$MSFT.Adjusted`, not for
'MSFT$MSFT.Adjusted' = 'rubbish'
More information about the R-help