R and R packages