I am attempting to do a fresh build of a Shiny server, using CentOS 8. I have been using the instructions on the Shiny server download site. I have been successful up to the point of installing the Shiny R packages. Using the code on the website
sudo su -
-c "R -e "install.packages('shiny', repos='https://cran.rstudio.com/')"">
I am getting the following error/response: <[root@CP-Shiny]# sudo su - \ -c "R -e "install.packages('shiny', repos='https://cran.rstudio.com/')""
su: user -c does not exist