Linux Bash Script Change Working Directory In R