notebook for R code