java_env_set_rprofile function

Update the .Rprofile file in the project directory