Mount Sinai logo

Scientific Computing and Data | High Performance Computing

Partnering with researchers to advance scientific discovery

RStudio Connect Server

What is Rstudio Connect?

Rstudio Connect server is available on Minerva since Aug 2020, where you can publish Shiny, R Markdown and Jupyter for collaborators or others. See more details about Rstudio Connect here.

 

How many users allowed to log into Rstudio Connect?

Currently, the subscription is upgraded to allow 45 named users on the server.

 

How to publish?

Rstudio-connect server is at https://rstudio-connect.hpc.mssm.edu

To publish your R product with Rstudio-connect:

1. Login to Minerva by ssh -X userid@minerva.hpc.mssm.edu ( X11 forwarding needed for GUI)

2. After login,

$ ml rstudio

$ rstudio

Connect Rstudio IDE to Rstudio connect, (see Rstudio Connect here)

The address of the RStudio Connect server is https://rstudio-connect.hpc.mssm.edu. This will request login. Use your Sinai ID and password  (NO VIP token needed).

3.To publish, open your app file such as app.R in Rstudio IDE, and click the right corner publish button (see Rstudio Publishing here)

NOTE: please uncheck “Launch browser” when publishing, since launching the browser over GUI is slow.

4. After your application is successfully deployed as shown in the deploy log, you can copy the URL and open it in any browser you like

5. You can manage access and other metrics in the dashboard. Tip: you can modify your Content URL as shown in the screenshot (bottom right corner), and copy the URL for sharing. For more on how to manage your application in the dashboard, please follow Rstudio connect user guide located here.