To create an empty vector use:
vec <- c();
Please note, I am not making any assumptions about the type of vector you require, e.g. numeric.
Once the vector has been created you can add elements to it as follows:
For example, to add the numeric value 1:
vec <- c(vec, 1);
or, to add a string value "a"
vec <- c(vec, "a");