Actually it's highly discouraged to do that, since you lose control of the number of variables do you have, you spread them in different objects.
It's much wiser to use a vector or a list to do that. -- View this message in context: http://r.789695.n4.nabble.com/use-variable-value-to-create-new-variable-name-tp3594815p3594904.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@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.