[R] when installing packages for R on Linux, is it better to use my distro's package manager, or install.packages()?

Ben Bolker bbo|ker @end|ng |rom gm@||@com
Sun Sep 29 00:45:23 CEST 2024


Use Dirk Eddelbuettel's r2u repo with bspm package

On Sat, Sep 28, 2024, 6:15 PM Stephen H. Dawson, DSL via R-help <
r-help using r-project.org> wrote:

> Distribution package manger, always.
>
> *Stephen Dawson, DSL*
> /Executive Strategy Consultant/
> Business & Technology
> +1 (865) 804-3454
> http://www.shdawson.com
>
>
> On 9/28/24 18:05, Christopher W. Ryan wrote:
> > I'm running R (currently 4.4.1) on Linux Mint
> >
> >> sessionInfo()
> > R version 4.4.1 (2024-06-14)
> > Platform: x86_64-pc-linux-gnu
> > Running under: Linux Mint 20.3
> > ...truncated...
> >
> > To install a new R package, is it better to use Linux Mint's pacakge
> > manager (e.g. synaptic, apt-get, or similar), or to install it within R
> > with install.packages("some_new_package")?
> >
> > I've done both over the years (perhaps a mistake that I will some day
> > regret.)
> >
> > Pros and cons of these two methods?
> >
> > Thanks.
> >
> > --Chris Ryan
> >
>
> ______________________________________________
> R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> https://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]



More information about the R-help mailing list