The R Document