add a value to a vector of 1 code example Example: r append to vector append(x, values, after = length(x))