Re: [R] Reference variables by string in for loop

From: Michael Bach <phaebz_at_gmail.com>
Date: Fri, 29 Apr 2011 15:13:18 +0300

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



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Fri 29 Apr 2011 - 12:16:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 29 Apr 2011 - 13:00:34 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive