[R-SIG-Mac] .libPaths and library directory

Simon Urbanek @|mon@urb@nek @end|ng |rom R-project@org
Mon Sep 6 03:26:51 CEST 2021


Adrian,

thank you, this is indeed a bug that got unnoticed for a while. Apparently the R defaults and the R GUI got out of sync at some point when the R_LIBS_USER defaults were tweaked in R but the corresponding change has not been made in the GUI.  I suppose the right thing to do would be for the GUI to check R_LIBS_USER.

Cheers,
Simon



> On Sep 5, 2021, at 10:16 PM, Adrian Dușa <dusa.adrian using unibuc.ro> wrote:
> 
> Dear All,
> 
> My .libPaths for the user defined directory shows:
> "/Users/dusadrian/Library/R/x86_64/4.1/library"
> 
> and indeed, the command install.packages() does install the packages in
> this location.
> 
> However, when installing from the RGUI menu, using Packages & Data /
> Package installer,
> the installation directory is:
> "/Users/dusadrian/Library/R/4.1/library"
> 
> I don't remember at which exact version this started to happen (it was also
> present in 4.1.0), and could not find any particular setting that I should
> tweak to make these equal.
> 
> This is the R.version result:
>               _
> platform       x86_64-apple-darwin17.0
> arch           x86_64
> os             darwin17.0
> system         x86_64, darwin17.0
> status
> major          4
> minor          1.1
> year           2021
> month          08
> day            10
> svn rev        80725
> language       R
> version.string R version 4.1.1 (2021-08-10)
> nickname       Kick Things
> 
> running under MacOS BigSur version 11.5.2
> 
> Thanks for any hint,
> Adrian
> 
> --
> Adrian Dusa
> University of Bucharest
> Romanian Social Data Archive
> Soseaua Panduri nr. 90-92
> 050663 Bucharest sector 5
> Romania
> https://adriandusa.eu
> 
> 	[[alternative HTML version deleted]]
> 
> _______________________________________________
> R-SIG-Mac mailing list
> R-SIG-Mac using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-mac
> 



More information about the R-SIG-Mac mailing list