Add r2u repository #15
Replies: 3 comments 1 reply
-
Thanks, this is something that could come as a configurable "extra". In the meantime feel free to set up this repo and use it on your own, I can't see why it wouldn't be compatible with DAT Linux. It can take over the "install.packages()" calls in R, so this is something to be mindful of. One other thing to consider is how the repos handle conflicting packages (the default Ubuntu package repo has some prebuilt ones already). And how up to date are the packages, how quickly do they get built when a package is updated on CRAN?
I think this is a bit of a hurdle, as it requires apt to remove packages which you'd normally easily do in R or RStudio. The thing about the default r-cran-* packages in Ubuntu is that if they're outdated then the R package manager can update them from CRAN, so you have the latest version. If you override the R package installer then it solely relies on the new repo as being up to date. Further, what happens if/when you choose to drop this repo and revert back? There's a number of issues that need to be considered if trying this out, and relies on more advanced skills, which leads me to think this should be either assisted (adding a utility layer to ease the process) or not included by default. |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answer and your points are valid. However I think there are workarounds: |
Beta Was this translation helpful? Give feedback.
-
It's all moot anyway, as imposing such a change through a DAT Linux system update (which is focused on the control panel) isn't the right thing to do, and if at all it would have to be in an ISO upgrade release - which at this stage this is not planned until 24.04. Keeping it on the back burner. At best it can be an added extra with some guidance via install scripts, etc. But not a priority until/if it's more thoroughly tested. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi and many thanks for your great work.
There is a binary repository of R packages for Ubuntu LTS called r2u. It would be nice and helpful if you add this repository and configure R so that it grab packages from this repository by default. Please have look:
https://github.com/eddelbuettel/r2u
Beta Was this translation helpful? Give feedback.
All reactions