added R code to markup
merge