comment faire un boucle sur r

# Step 1: Define the range of values for the loop
for (i in 1:5) {

  # Step 2: Code to be executed in each iteration
  print(paste("Iteration:", i))

  # Add your desired code here

}