powered by
Add an element to the back of a container by reference.
push_back(x, value)
Invisibly returns NULL.
NULL
A CppVector, CppDeque, or CppList object.
A value to add to x.
x
back, emplace_back, insert, pop_back, push_front.
v <- cpp_vector(4:6) v # 4 5 6 push_back(v, 14L) v # 4 5 6 14
Run the code above in your browser using DataLab