An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20111120/c11f2493/attachment.pl>
create variable names using paste
2 messages · Alaios, Uwe Ligges
On 20.11.2011 15:32, Alaios wrote:
Dear all,
I would like based on a variable values, like threshold<- 90 to create variables name that will load data sets
For example
paste('mystring',threshold,sep="")<-load('myfile')
This is a FAQ! You probably want to assign into a list. But if you really want to do the above, see ?assign Uwe Ligges
How I can doi something like that in R? B.R Alex [[alternative HTML version deleted]]
______________________________________________ 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.