[R] Reference variables by string in for loop

Michael Bach phaebz at gmail.com
Fri Apr 29 14:13:18 CEST 2011

Kenn Konstabel <lebatsnok at gmail.com> writes:

> Another way (not elegant but better and shorter than the eval-parse
> way) is to use get. ?get

This one is handy for interactive use, thanks for the hint.

Kind Regards,
Michael Bach

More information about the R-help mailing list