[R] Remove objects names like character String

Katharina May may.katharina at googlemail.com
Tue May 19 12:47:17 CEST 2009


how can I use rm() on objects named like:
paste("site",i,"_data",sep="") while looping
through i?
I tried rm(paste("site",i,"_data",sep="")) but I get the error that
rm() must contain names or
text strings which is confusing me as I thought paste() would create
something like that...?



Time flies like an arrow, fruit flies like bananas.

More information about the R-help mailing list