add R_HOME
Merge branch 'develop'