Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I installed shiny according <a href="https://github.com/rstudio/shiny-server/wiki/Ubuntu-step-by-step-install-instructions" rel="nofollow noreferrer">https://github.com/rstudio/shiny-server/wiki/Ubuntu-step-by-step-install-instructions</a></p> <p>and got the same error at the step</p> <pre><code>sudo su - -c "R -e \"install.packages('shiny', repos='http://cran.rstudio.com/')\"" Warning messages: 1: In install.packages("shiny", repos = "http://cran.rstudio.com/") : installation of package ‘Rcpp’ had non-zero exit status 2: In install.packages("shiny", repos = "http://cran.rstudio.com/") : installation of package ‘httpuv’ had non-zero exit status 3: In install.packages("shiny", repos = "http://cran.rstudio.com/") : installation of package ‘shiny’ had non-zero exit status </code></pre> <p>I tried the answer by Richard Lee by starting R</p> <pre><code>R </code></pre> <p>and got the error</p> <pre><code>Warning in install.packages("shiny") : 'lib = "/usr/local/lib/R/site-library"' is not writable Would you like to use a personal library instead? (y/n) n Error in install.packages("shiny") : unable to install packages </code></pre> <p>obviously no write permission, so</p> <pre><code>sudo R </code></pre> <p>Now I tried again</p> <pre><code>install.packages("shiny") </code></pre> <p>and got a number of errors</p> <pre><code>Error : package ‘codetools’ was built before R 3.0.0: please re-install it Error : package ‘RJSONIO’ was built before R 3.0.0: please re-install it Error : package ‘caTools’ was built before R 3.0.0: please re-install it Error : package ‘bitops’ was built before R 3.0.0: please re-install it Error : package ‘digest’ was built before R 3.0.0: please re-install it Error : package ‘xtable’ was built before R 3.0.0: please re-install it </code></pre> <p>Each time I got an error, I re-installed the requested package</p> <pre><code>install.packages("codetools") install.packages("RJSONIO") etc. </code></pre> <p>and eventually, I was able to install Rccp, httpuv, and even shiny. Now it works!! </p> <p>Also see <a href="https://stackoverflow.com/questions/19602154/shiny-package-installation-on-r-version-3-0-2-frisbee-sailing">Shiny package installation on R version 3.0.2 &quot;Frisbee Sailing&quot;</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload