On 8/3/06, John Kane <[EMAIL PROTECTED]> wrote: > > --- Don MacQueen <[EMAIL PROTECTED]> wrote: > > > You don't need to find out the column index. This > > works: > > > > Df[5,'bat'] <- 100 > > > > -Don > > > > Thanks, I'd tried > Df[5, bat] <- 100 :( > > I never thought of the ' ' being needed.
Right -- the quotes are not needed if you use $ but they are needed if you use [. ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.