CMB R Scripts