Installing R-Shiny on the Linux data science VM under Ubuntu 16.04 RRS feed

  • Question

  • Hi,

    I am trying to install R Shiny (open source) and expose the server via a port on the Linux machine. I've got the server installed, and it's accepting and returning output to the port from a browser connection, however it does NOT appear to be linking through to MRO R to process commands.

    Is there a step-by-step guide for the VM to do this? It seems strange that this isn't just a default install to be honest.

    So far I have,

    1) updated everything 

    $ sudo su - -c "R -e \"install.packages('shiny', repos='https://cran.rstudio.com/')\""

    $ sudo apt-get install gdebi-core

    $ wget |removedhttp| download3.rstudio.org/ubuntu-14.04/x86_64/shiny-server- (slightly edited to avoid linking directly)

    $ sudo gdebi shiny-server-

    2) exposed port 8788

    3) pointed a browser, whereupon I get the Shiny welcome screen, but none of the histograms from the R back end render.

    We have a single administrator log on to the VM, let's call it 'DataScience'. What exact steps do I now need to do (given ZERO experience with Ubuntu or Linux, please avoid short hand such as 'just update your PATH' - I really need to know where, what, and how).


    • Edited by Jon_Walton Tuesday, July 9, 2019 10:29 AM Spelling
    Tuesday, July 9, 2019 10:29 AM