On Oct 10, 2011, at 12:52 PM, song_gpqg wrote:

Hello!
So I am handling this problem with some arrays grp1-grp7, I want to write a loop to avoid tedious work, but I don't know how to transform string to
boor?
For example I used
i=1
paste("grp",i, sep="")

?get

e.g.
get( paste("grp",i, sep="") )

I only got "grp1" instead of grp1, which can't be manipulate using mean() or
other function.

I am not sure if I make myself clear...
THANKS!!!!

Nellie



--
View this message in context: 
http://r.789695.n4.nabble.com/question-about-string-to-boor-tp3890983p3890983.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.

David Winsemius, MD
West Hartford, CT

______________________________________________
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.

Reply via email to