alnoda-workspaces/workspaces/r-workspace/README.md

48 lines
1.2 KiB
Markdown
Raw Permalink Normal View History

2022-05-17 04:31:24 +12:00
# R workspace
2023-07-06 03:36:02 +12:00
Portable containerized enviroments for R projects. Workspace has VSCode IDE, RStudio and Jupyterlab.
2022-05-17 04:31:24 +12:00
## Start
```
2023-07-06 03:36:02 +12:00
docker run --name space-1 -d -p 8020-8040:8020-8040 --restart=always alnoda/r-workspace
2022-05-17 04:31:24 +12:00
```
2023-07-06 03:36:02 +12:00
open [localhost:8020](http://localhost:8020) in browser.
2022-05-17 04:31:24 +12:00
## Features
2023-07-06 03:36:02 +12:00
- [**R**](https://www.r-project.org/) - R programming language
- [**RStudio**](https://github.com/rstudio/rstudio) - Integrated development environment (IDE) for R
- [**JupyterLab with R kernel**](https://jupyter.org/) - Web-based interactive development environment for notebooks, code, and data.
- [**radian**](https://github.com/randy3k/radian) - A 21 century R console. Like iPython for R
- [**Openvscode workspace features**](https://github.com/bluxmit/alnoda-workspaces/tree/main/workspaces/openvscode-workspace)
2022-05-17 04:31:24 +12:00
2023-07-09 06:26:55 +12:00
## Links
[__Alnoda docs__](https://docs.alnoda.org/)
[__Alnoda Hub__](https://alnoda.org)
2023-07-06 03:36:02 +12:00
## R
Open terminal, and check R version
```
R --version
```
2022-05-17 04:31:24 +12:00
2023-07-06 03:36:02 +12:00
To start R shell, simply execute `R` in the terminal
2022-05-17 04:31:24 +12:00
2023-07-06 03:36:02 +12:00
If you want to install packages from the terminal, execute
```
Rscript -e 'install.packages("drat", repos="https://cloud.r-project.org")'
```
Open Radian shell:
```
r
```
2022-05-24 07:06:43 +12:00