I am a newbie experimenting with foreach in R. However, I find that only the last instruction in the foreach loop is executed.
How do I get both instructions executed