Skip to content

Commit

Permalink
adds R installation and install R version 4.4.0 (2024-04-24) #71
Browse files Browse the repository at this point in the history
  • Loading branch information
mxochicale committed May 10, 2024
1 parent fdde57a commit 113f66a
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 0 deletions.
Binary file added R/.RData
Binary file not shown.
1 change: 1 addition & 0 deletions R/.Rhistory
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
q()
18 changes: 18 additions & 0 deletions R/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# R


## Installation
```
installation.bash
```

## Test installation
```
R --version
#R version 4.4.0 (2024-04-24) -- "Puppy Cup"
```

## References
* https://cran.r-project.org/bin/linux/ubuntu/


11 changes: 11 additions & 0 deletions R/installation.bash
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# update indices
sudo apt update -qq
# install two helper packages we need
sudo apt install --no-install-recommends software-properties-common dirmngr
# import the signing key (by Michael Rutter) for these repo
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
# add the R 4.0 repo from CRAN -- adjust 'focal' to 'groovy' or 'bionic' as needed
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"

# Install R
sudo apt install --no-install-recommends r-base

0 comments on commit 113f66a

Please sign in to comment.