have setup use R_HOME environment variable if it is defined