Suppose you want to manipulate the names of objects within your code. You can do things like the following: >i=2 >eval(as.name(paste(obj,i,sep=))) # returns contents of obj2 >assign(paste(obj,i,sep=),obj1) # assigns contents of obj1 to obj2