# Write a R program to print numbers from 1 to 5. i = 1 while(i <= 5) { print(i) i = i + 1 } # or we can use print(1:5)