Re: [R] Need to abstract changing name of column within loop

2011-03-17 Thread jctoll
On Thu, Mar 17, 2011 at 10:32 AM, Joshua Ulrich wrote: > On Wed, Mar 16, 2011 at 6:58 PM, jctoll wrote: >> Hi, >> >> I'm struggling to figure out the way to change the name of a column >> from within a loop.  The problem is I can't refer to the object by its >> actual variable name, since that wi

Re: [R] Need to abstract changing name of column within loop

2011-03-17 Thread Joshua Ulrich
On Wed, Mar 16, 2011 at 6:58 PM, jctoll wrote: > Hi, > > I'm struggling to figure out the way to change the name of a column > from within a loop.  The problem is I can't refer to the object by its > actual variable name, since that will change each time through the > loop.  My xts object is A. >

Re: [R] Need to abstract changing name of column within loop

2011-03-16 Thread jctoll
On Wed, Mar 16, 2011 at 8:20 PM, David Winsemius wrote: > > On Mar 16, 2011, at 7:58 PM, jctoll wrote: > >> Hi, >> >> I'm struggling to figure out the way to change the name of a column >> from within a loop.  The problem is I can't refer to the object by its >> actual variable name, since that wi

Re: [R] Need to abstract changing name of column within loop

2011-03-16 Thread David Winsemius
On Mar 16, 2011, at 7:58 PM, jctoll wrote: Hi, I'm struggling to figure out the way to change the name of a column from within a loop. The problem is I can't refer to the object by its actual variable name, since that will change each time through the loop. My xts object is A. head(A)

[R] Need to abstract changing name of column within loop

2011-03-16 Thread jctoll
Hi, I'm struggling to figure out the way to change the name of a column from within a loop. The problem is I can't refer to the object by its actual variable name, since that will change each time through the loop. My xts object is A. > head(A) A.Open A.High A.Low A.Close A.Volume A.