minor fixes for setting R env and removing global replace patch with a more confined patch

git-svn-id: svn+ssh://portal-auth.nersc.gov/project/projectdirs/visit/svn/visit/branches/2.7RC/src@21850 18c085ea-50e0-402c-830e-de6fd14e8384