Revert "adding R code"

This reverts commit 6690df1e96b7cdcbcf81abf78a4a0efbb5cf2132.