Rscript: command not found

Have You tried accessing the binary with the full path?

Maybe Your $PATH variable doesn't contain the default paths? echo $PATH should give something like:

[root@server ~]# echo $PATH
/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin

If it's empty, You may set the PATH variable with this command

export PATH="/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/root/bin"

On CentOS possible default full paths are:

/usr/bin/Rscript - from package: R-core
/usr/lib64/R/bin/Rscript - from package: R-core
/usr/lib/R/bin/Rscript - from package: R-core

You may install the required package with command yum install {package}

On Debian possible default full paths are:

/usr/bin/Rscript - from package: r-base-core
/usr/lib/R/bin/Rscript - from package: r-base-core
/usr/lib/debug/usr/lib/R/bin/Rscript - from package: r-base-core-dbg

You may install the required package with command apt-get install {package}
Error in other languages:
Rscript: bevel nie gevind nie
Rscript: comandă negăsită
Rscript: comando não encontrado
Rscript: commande introuvable
Rscript: command not found
Rscript: käsku ei ole
Rscript: không tìm thấy lệnh
Rscript: komanda nerasta
Rscript: Kommando nicht gefunden.
Rscript: kommandot finns inte
Rscript: komut yok
Rscript: nie znaleziono polecenia
Rscript: níor aimsíodh an t-ordú
Rscript: no se encontró la orden
Rscript: no s'ha trobat l'ordre
Rscript: opdracht niet gevonden
Rscript: parancs nem található
Rscript: perintah tidak ditemukan
Rscript: príkaz nenájdený
Rscript: příkaz nenalezen
Rscript: команда не найдена
Rscript: командата не е открита
Rscript: 命令找不到
Rscript: コマンドが見つかりません