alnoda-workspaces/workspaces/r-workspace/removeme_docs/getting-started.md
2022-05-23 19:06:43 +00:00

2 KiB

Getting started

Intro

To start, open Quickstart page localhost:8020 for quick access to all the tools

From the quicklaunch page you can open workspace tools, such as code editor or terminal

Demo: Workspace UI

wid-ui.png

This workspace includes RStudio Server, a browser-based IDE for R.

RStudio

Workspace has full-size browser-base terminal

Base-Workspace terminal

R

Open terminal, and check R version

R --version

RStudio

To start R shell, simply execute R in the terminal

RStudio

If you want to install packages from the terminal, execute

Rscript -e 'install.packages("drat", repos="https://cloud.r-project.org")'

Examples

CUse terminal to clone example repository

cd /home/abc 
git clone https://github.com/dmarcelinobr/r-code-examples.git

Open Rstudio, and try some examples, i.e. 2d-density-plot.r. Evaluate code, agree to install dependencies

RStudio