Skip to content
Prev 363498 / 398502 Next

Loop over folder files

Compare what happens with these two command:

for (i in 1:3) { table(letters[1:4])  }
for (i in 1:3) { print(table(letters[1:4]))  }

Then try modifying your loop similarly.