New to R :), but I think pg. 25 line ~6 in the browser example should be `betas[1:5,]` instead of `betas[,1:5]` to print the first 5 lines of betas.