Pass beta prior precision control to R, various other tweaks