I am trying to install a software, this error coming again and again i have tried some solutions which have suggest for similar errors but not working for me. command is given bellow:
sudo su - -c "R -e \\"install.packages('shiny', repos='http://cran.rstudio.com/')\\""
please help
error:
bash: syntax error near unexpected token `('
Check how you escape the quotes. The argument is:
This can be split into:
"R -e \\"
install.packages('shiny', repos='http://cran.rstudio.com/')
\\""
The
(
afterpackages
is wrong shell syntax.Do this: