add: initial R version