Update r_environment.sh