Skip to content
Prev 178746 / 398506 Next

Re moving unwanted double values in list

I have a procedure that goes sorts out some numbers based on specidifed
criteria and for some reason the list contains double values in some of the
rows such as:

TAZs <-

[[84]]
[1] 638

[[85]]
[1] 643

[[86]]
[1] 644 732

[[87]]
[1] 651 801

i would like to check list TAZs for double values and remove any if present. 
I have tried 

if (length(TAZDs==2))
	rm(TAZDs[2])
but no luck.  I cant find nor think of another way.  Any help would be
helpful. Thanks in advance