Sweave: 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/lib64/R/bin/Sweave - from package: R-core
/usr/lib/R/bin/Sweave - from package: R-core

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

On Debian possible default full paths are:

/usr/lib/R/bin/Sweave - from package: r-base-core

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