Update R profile and profile for shell.