Re: [R] Loops to assign a unique ID to a column

2011-08-02 Thread Bert Gunter
> College Station, TX 77843-4352 > > > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf Of Chandra Salgado Kent > Sent: Tuesday, August 02, 2011 2:12 AM > To: r-help@r-project.org > Subject: [R] Loops to as

Re: [R] Loops to assign a unique ID to a column

2011-08-02 Thread David L Carlson
iginal Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On Behalf Of Chandra Salgado Kent Sent: Tuesday, August 02, 2011 2:12 AM To: r-help@r-project.org Subject: [R] Loops to assign a unique ID to a column Dear R help, I am fairly new in data manageme

Re: [R] Loops to assign a unique ID to a column

2011-08-02 Thread ONKELINX, Thierry
..@r-project.org] > Namens Chandra Salgado Kent > Verzonden: dinsdag 2 augustus 2011 9:12 > Aan: r-help@r-project.org > Onderwerp: [R] Loops to assign a unique ID to a column > > Dear R help, > > > > I am fairly new in data management and programming in R, and am tr

[R] Loops to assign a unique ID to a column

2011-08-02 Thread Chandra Salgado Kent
Dear R help, I am fairly new in data management and programming in R, and am trying to write what is probably a simple loop, but am not having any luck. I have a dataframe with something like the following (but much bigger): Dates<-c("12/10/2010","12/10/2010","12/10/2010","13/10/2010", "1