You can use the assign() function to assign some value to a variable. To create a variable v1, v2,... at run time, you can use the paste0() function.
Here is an example:
for (i in seq(1,5,1)){ assign(paste0("v", i), i*2) }
for (i in seq(1,5,1)){
assign(paste0("v", i), i*2)
}
The above code will generate variables at run time and will assign values to them.
> v1
[1] 2
> v2
[1] 4
> v3
[1] 6
> v4
[1] 8
> v5
[1] 10