helper module for translate the R# code to R language