Assign vector to another name



examples/vectors/assign_vector.R
colors = c("red", "blue", "green")
colors    # "red", "blue", "green"

other_colors = colors

colors[1] # red
colors[1] = "purple"
colors # "purple", "blue", "green"
other_colors  # "purple", "blue", "green"