[R] Delete a list component?

R A F raf1729 at hotmail.com
Fri May 2 19:16:16 CEST 2003


Hi, how do I delete a component from a list?

For example, aaa <- list(), aaa$a <- 0, aaa$b <- 0.  How do I remove
aaa$a from aaa so that it's left with aaa$b?

Thanks very much.



More information about the R-help mailing list