Installed
- r-base→ Core R interpreter, standard libraries.
- r-base-dev→ Compilers & headers for building packages.
- RStudio Server → Web IDE accessible via browser.
Access RStudio Server
Open in your browser: http://<server-ip>:8787
Login with:
- Username: rstudio
- Password: (check /root/.cloudzy-creds)
Command Line R
Launch R directly from the terminal:
R
Important Files & Directories
R Environment:
- /etc/R→ System-wide R config.
- /usr/bin/R→ R binary.
- /usr/lib/R→ Base R libraries.
- /usr/local/lib/R/site-library→ Site-wide add-on packages.
RStudio Server:
- /etc/rstudio/→ Main config (- rstudio-server.conf,- database.conf, etc).
- /var/log/rstudio/rstudio-server/→ Server logs.
- /var/lib/rstudio-server/→ State, sessions, persistent data.
- /usr/lib/rstudio-server/→ RStudio binaries.
- /home/rstudio/→ Default user workspace.
Installing Packages
From Ubuntu repositories (system-wide):
sudo apt install r-cran-curl
From R console (latest from CRAN):
install.packages("ggplot2")
Notes
- Protect port 8787 (firewall / reverse proxy).
- Keep /root/.cloudzy-credssafe — it contains login credentials.
