I would like to run a for loop with multiple variables which run simultaneously and are not nested.
My code is as follows
for (i, j in c(1,2,3), c("a","b","c")){
print(i)
print(j)
}
I would like this to print out
1
a
2
b
3
c
How can I do this?