[R] Assign with Paste Problem

2011-04-12 Thread Sparks, John James
Dear R Helpers, I am trying to change the name of an object using the assign function. When I use paste on the new object but not the old, everything is fine: The new object is a direct copy of the old object. When I use a paste for both the new and the old object, however, the new object is

Re: [R] Assign with Paste Problem

2011-04-12 Thread baptiste auguie
Hi, You probably need ?get, though you might want to read this first, library(fortunes) fortune(236) HtH, baptiste On 13 April 2011 13:04, Sparks, John James jspa...@uic.edu wrote: Dear R Helpers, I am trying to change the name of an object using the assign function. When I use paste on