# Let's say I have 5 objects, object_1, object_2, etc.
for (i in 1:5) {
    assign(paste("object_",i, sep=""), i+500)
}

# Now, for whatever reason, I don't know the names of the objects I've
created, but I want to operate on them.
list<-ls(pattern="^obj")

#Is get best?
for (l in list) {
    cat("\n", l, "is", get(l), sep=" ")
}

Is get() the correct command to use in this situation?  What if rather than
just an integer, object_1 etc are large arrays - does that change the
answer, for speed reasons?

Thanks in advance,
Dan

	[[alternative HTML version deleted]]

