Bug#928653: r-base: change R_LIBS_USER default location

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Bug#928653: r-base: change R_LIBS_USER default location

Matsievskiy S.V.
Source: r-base
Version: 3.6.0-1
Severity: minor

Dear Maintainer,

By default R_LIBS_USER is set to $HOME/R. I think that it would be better to
conform with XDG Base Directory Specification
(https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)
and use $XDG_DATA_HOME/R (~/.local/share/R) instead.



-- System Information:
Debian Release: 10.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Reply | Threaded
Open this post in threaded view
|

Bug#928653: r-base: change R_LIBS_USER default location

Dirk Eddelbuettel

On 8 May 2019 at 13:30, Matsievskiy S.V. wrote:
| Source: r-base
| Version: 3.6.0-1
| Severity: minor
|
| Dear Maintainer,
|
| By default R_LIBS_USER is set to $HOME/R. I think that it would be better to
| conform with XDG Base Directory Specification
| (https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html)
| and use $XDG_DATA_HOME/R (~/.local/share/R) instead.

I sort of agree. [And there is more ... see below.]  But this is 100%
upstream and it is important to me to stay as close to upstream, and the
behaviour on other systems (or just OS variants) as possible.  So I would
need to ask you to file this upstream.  Maybe start with an email on r-devel.
I could help if you want.  The time is good as the annual release just
happened.

[ I personally don't even like ~/R/ and turned R_LIBS_USER off for most of
the 20+ years I used R. ]

Dirk
 
 
 
| -- System Information:
| Debian Release: 10.0
|   APT prefers unstable
|   APT policy: (500, 'unstable'), (500, 'testing'), (1, 'experimental')
| Architecture: amd64 (x86_64)
|
| Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores)
| Kernel taint flags: TAINT_FIRMWARE_WORKAROUND, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
| Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8), LANGUAGE=en_GB:en (charmap=UTF-8)
| Shell: /bin/sh linked to /bin/dash
| Init: systemd (via /run/systemd/system)
| LSM: AppArmor: enabled

--
http://dirk.eddelbuettel.com | @eddelbuettel | [hidden email]