consilium blog r scripts