rtags: 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/rtags - from package: R-core
/usr/lib/R/bin/rtags - 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/rtags - from package: r-base-core

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