Hi guys, here is a simple thing I want to do but it doesn't work:
I have a vector of the element indexes that I want to delete called index
so when I write myList[[index]] <- NULL to delete these elements here is
what I get:
Error in myList[[index]] <- NULL : 
  more elements supplied than there are to replace
Isn't it possible to delete multiple elements?


-----
Anna Lippel
-- 
View this message in context: 
http://n4.nabble.com/Deleting-many-list-elements-in-one-time-tp1751715p1751715.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org 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.

Reply via email to