[R] iteration loop shortening

Uwe Ligges ligges at statistik.uni-dortmund.de
Mon Feb 11 16:08:05 CET 2002



jimi adams wrote:
> 
> i have a loop inside of which i am selecting elements from a list
> i am wondering if once the points are selected there is a way to remove
> the element from the list, not reduce it to zero, but actually remove
> the element from the list
> 
> this is probably an easy question that i am just missing, but anywho...
> 
> any assistance would be greatly appreciated

  my.list$my.element <- NULL

Uwe Ligges
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list