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

Stephen H. Dawson, DSL @erv|ce @end|ng |rom @hd@w@on@com
Sun Sep 29 00:10:20 CEST 2024


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
>



More information about the R-help mailing list