I’ve long been interested in exactly how R works - not quite enough for me to learn all the internals, but I was surprised that I could not find a clear guide towards exactly how vectorization works at the deepest level. Let’s say we want to add two vectors which we’ve defined as x and y x <- c(2, 4, 6) y <- c(1, 3, 2) One way to do this (the verbose, elementwise way) would be to add each pair of elements c(x[1] + y[1], x[2] + y[2], x[3] + y[3]) ## [1] 3 7 8 but if you are familiar with...