Укажите версию R.

alias R="/usr/local/bin/R" # create an alias in your .bashrc file
Yan Zhang