Hallo Paul,
On 9 April 2022 at 10:19, Paul Menzel wrote: | Package: r-base-core | Version: 4.1.3.20220324-1 | Severity: wishlist | | Dear Debian R maintainer, | | Thank you very much for packaging and maintaining R and related software | in Debian. Some of our scientists use Debian and its R packages. | Sometimes they’d like to use different R versions, for example, they’d | like to stay with an R version from a different Debian suite, or use | different versions in parallel. Is that somehow supported? I only read | README [1]. If it’s documented somewhere, I am sorry for the noise and a | pointer would be nice. It is a wish of mine too, and has been for a long time. But if you look into the customization done by the package, dealing with - a package path (run .libPaths() in R) - the /etc/R/ softlink - the /usr/lib and /usr/share split then it is not clear how to best do this _cleanly_. Now, R itself makes it _very easy_ because it will put all its files under one common tree. So you can (now, today) just install from source into, say, - /opt/R/4.0.4 - /opt/R/3.6.3 and so on and access them by path. I (and many others) have done just that with R-devel which I keep in /usr/local. But how would be we 'share' r-cran-* or r-bioc- packages here between different versions? We can't just reinstall as, say, the emacsen-common package does. It's a hard nut. Now, I am also co-create of the Rocker Project (== "Docker for R") and its container rocker/r-base:$VER is also the official R container r-base. That is what I use: edd@rob:~$ docker images | grep ^r-base | grep -v none r-base latest 3b1921c5aaae 10 days ago 770MB r-base 4.1.3 9b7ea19c65d1 4 weeks ago 770MB r-base 4.1.2 13f75f489d67 3 months ago 764MB r-base 4.1.1 85d4d9dc4d6e 5 months ago 760MB r-base 4.1.0 4660610c7305 10 months ago 763MB r-base 4.0.5 aa299775ee63 12 months ago 761MB r-base 4.0.4 c20a3d431fd4 13 months ago 761MB r-base 4.0.3 f6f1f4182a9d 18 months ago 766MB r-base 4.0.2 194fa228510e 21 months ago 824MB r-base 4.0.1 0836c59d7d07 22 months ago 699MB r-base 4.0.0 502b38518c3c 22 months ago 692MB r-base 3.6.3 3aad1ffccc53 2 years ago 679MB r-base 3.6.2 46edce0e80af 2 years ago 677MB r-base 3.6.1 4e55790c88ae 2 years ago 642MB r-base 3.6.0 6dfc0dec6d66 2 years ago 662MB r-base 3.5.3 62c848eeb175 3 years ago 649MB r-base 3.5.2 578644a0540c 3 years ago 650MB r-base 3.5.1 93ca38345db2 3 years ago 678MB r-base 3.5.0 fb43e8fe1667 3 years ago 698MB r-base 3.4.4 d1325eaa28ad 3 years ago 667MB r-base 3.4.3 d1e1c25485af 4 years ago 670MB r-base 3.4.2 02d3b7e00020 4 years ago 651MB r-base 3.4.0 5a6c58403310 4 years ago 656MB r-base 3.3.3 88436550cddc 5 years ago 635MB r-base 3.3.1 7ba1baf9d8bb 5 years ago 657MB edd@rob:~$ Now I have access to all those R versions: edd@rob:~$ docker run --rm -ti r-base:3.3.1 Rscript --version R scripting front-end version 3.3.1 (2016-06-21) edd@rob:~$ Good enough? Best, Dirk PS rocker/r-base:4.2.0 also exists and let's us test the upcoming R 4.2.0 release. | Kind regards, | | Paul | | | [1]: https://salsa.debian.org/edd/r-base/-/blob/master/debian/README.debian -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org