Skip to content

Commit 082bf86

Browse files
Update README to point to r2u (#86)
* update README to point to r2u * More precise description Co-authored-by: Dirk Eddelbuettel <[email protected]> --------- Co-authored-by: Dirk Eddelbuettel <[email protected]>
1 parent 3ba0056 commit 082bf86

File tree

1 file changed

+5
-18
lines changed

1 file changed

+5
-18
lines changed

README.md

+5-18
Original file line numberDiff line numberDiff line change
@@ -90,26 +90,13 @@ $ sudo dnf install R-CoprManager
9090

9191
### Ubuntu
9292

93-
There are thousands of binary packages available via the
94-
[c2d4u.team/c2d4u4.0+](https://launchpad.net/~c2d4u.team/+archive/ubuntu/c2d4u4.0+)
95-
PPA repo:
96-
97-
```bash
98-
$ sudo add-apt-repository ppa:marutter/rrutter4.0 # R v4.0 and higher
99-
$ sudo add-apt-repository ppa:c2d4u.team/c2d4u4.0+ # R packages
100-
$ sudo apt-get update && sudo apt-get install python3-{dbus,gi,apt}
101-
```
102-
103-
Then, install `bspm` as a system package from CRAN:
104-
105-
```bash
106-
$ sudo Rscript -e 'install.packages("bspm", repos="https://cran.r-project.org")'
107-
```
108-
109-
Then, to enable it system-wide (alternatively, use your `.Rprofile`):
93+
(Essentially) all of CRAN is available as binary packages via the
94+
[r2u](https://eddelbuettel.github.io/r2u/) repo:
11095

11196
```bash
112-
$ echo "bspm::enable()" | sudo tee -a /etc/R/Rprofile.site
97+
$ . /etc/os-release # to get UBUNTU_CODENAME
98+
$ URL="https://raw.githubusercontent.com/eddelbuettel/r2u/master/inst/scripts"
99+
$ curl -s "${URL}/add_cranapt_${UBUNTU_CODENAME}.sh" | sudo bash -s
113100
```
114101

115102
### openSUSE

0 commit comments

Comments
 (0)