0

if i have a list of vectors and one of them is null how i can delete it ,for example i have this list :

[[1]]
{(2, 5), (3, 6), (4, 5), (5, 2), (5, 4), (5, 7), (6, 3), (6, 7), (7, 5), (7, 6)}

[[2]]
{(1, 4), (3, 4), (3, 6), (4, 1), (4, 3), (4, 5), (4, 6), (4, 7), (4, 8), (5, 4), (6, 3),
 (6, 4), (6, 7), (7, 4), (7, 6), (8, 4)}

[[3]]
{(1, 8), (2, 5), (2, 8), (4, 5), (4, 8), (5, 2), (5, 4), (5, 7), (7, 5), (7, 8), (8, 1),
 (8, 2), (8, 4), (8, 7)}

[[4]]
NULL

[[5]]
{(1, 8), (3, 6), (6, 3), (6, 8), (8, 1), (8, 6)}

[[6]]
{(2, 5), (4, 5), (5, 2), (5, 4)}

[[7]]
NULL

[[8]]
NULL

so i want to delete the fourth the 7th and the 8th thanks

duckmayr
  • 16,303
  • 3
  • 35
  • 53

0 Answers0