R arithmetic operations - Boston University

R is designed to work with vectors very efficiently – avoid using loops to perform the same operation on each element – rather apply function on the whole vector! For large arrays avoid dynamic expansion if possible. ................
................