[R] Can you turn a string into a (working) symbol?

andrewH ahoerner at rprogress.org
Wed Nov 28 04:06:34 CET 2012


Dear Michael – 
This is _very_ interesting and I want to play around with the functions you
suggest. I had no idea it was so easy to define assignment operators.

However, one question: even after reading the “get” documentation and doing
a bunch of mousing around for the expressions “pos” and “the search path”, I
am not sure what function the numeral 1 in these expression serves. Why do I
want to look in the global environment rather than the current environment?
I also can not find anything that explains what the default “pos = -1” does. 

Thanks for responding!

andrewH




--
View this message in context: http://r.789695.n4.nabble.com/Can-you-turn-a-string-into-a-working-symbol-tp4648343p4651069.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list