# generate a new file
gen_varmod(tempdir(), c("lai(n)", "hauteur"))
# Add a variable to the others
# var.mod will contain now "lai(n)","hauteur" and "masec(n)"
gen_varmod(tempdir(), "masec(n)", append = TRUE)
Run the code above in your browser using DataLab