powered by
Remove elements from a container by reference.
remove.(x, value)
Invisibly returns NULL.
NULL
A CppForwardList or CppList object.
A value to delete from x.
x
The method ends with a dot to avoid compatibility issues with the generic base::remove.
base::remove
clear, empty, erase.
l <- cpp_forward_list(4:6) l # 4 5 6 remove.(l, 5L) l # 4 6
Run the code above in your browser using DataLab