About RStudio
RStudio Server runs the RStudio IDE on a Linux machine and serves it to a browser: a code editor with completion, the R console, plots, an environment viewer, a file browser and Git integration. The open-source edition is AGPL-3.0, and Posit Workbench is the commercial edition with extras such as several sessions per user.
On a CloudSat VPS heavy model fits run on server cores and memory while you work from any laptop, and a session survives a closed browser tab.
It listens on port 8787 without TLS, and you sign in with a regular Linux account; root is refused.
What you get with RStudio
- Editor with completion, diagnostics and R Markdown
- Console, plots, help and environment panes
- Git and Quarto integration
- Projects with their own working directories
- Logins through the server's PAM accounts
RStudio use cases
- Teach a class from one server with a login per student
- Run long model fits close to the data
- Reach the same analysis environment from any computer
After you deploy RStudio
- Connect as root over SSH when Running shows and add a user with
adduser analyst, since RStudio refuses root. - Open
http://<server IP>:8787and sign in as that user. - Port 8787 carries no TLS, so put an HTTPS reverse proxy in front or reach it through an SSH tunnel.
- Install packages from the console; system libraries for compiled packages come from apt.
RStudio ports
Open these in your firewall if you use one: 8787/tcp RStudio Server (no TLS by default).
RStudio FAQ
How does RStudio Server differ from Posit Workbench?
RStudio Server is the no-cost AGPL-3.0 edition, limited to one session per user. Posit Workbench is commercial and adds multiple sessions, other IDEs and enterprise sign-in.
Why can't root log in?
RStudio Server accepts only regular accounts by default, so create a normal Linux user for each person. The rule lives in /etc/rstudio/rserver.conf.
Disclaimer. The RStudio project has no affiliation with CloudSat and does not endorse it. Names and logos belong to their owners and appear only to identify the software.