The following example should print a list with all the values in the vector 1:10. Source. for(i in 1:10) { print(paste("i =", i)); }.
www.student.tue.nl