Bash Script Variable Assignment In R