Try to do this > list <- seq(1,5,1) > list<-list[-3] > list [1] 1 2 4 5
list[-x] will remove the xth value in your list. Also you can do something like > list[-c(1:4)] [1] 5 To remove values at indexes 1-4 > list[-c(1,4)] [1] 2 3 5 To remove values at indexes 1 and 4 -- View this message in context: http://r.789695.n4.nabble.com/how-to-eliminate-an-element-of-a-list-tp2323329p2324691.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.