From 774b0db9ffe83c214cb5f6dbfacd016b785cad95 Mon Sep 17 00:00:00 2001 From: ArcWandx86 Date: Tue, 6 Jun 2023 00:10:52 -0400 Subject: [PATCH] Correction on how to set environment variables. --- programs/R.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/R.json b/programs/R.json index 52667b4..4fdf768 100644 --- a/programs/R.json +++ b/programs/R.json @@ -4,7 +4,7 @@ { "path": "$HOME/R", "movable": true, - "help": "Export the following environment variables:\n\n```bash\nexport R_LIBS_USER=\"$XDG_DATA_HOME\"/R/x86_64-pc-linux-gnu-library\n```\n\nAnd/or append this line to the end of `/usr/lib/R/library/base/R/Rprofile`:\n\n```R.libPaths( c( \"$XDG_DATA_HOME/R/x86_64-pc-linux-gnu-library/\" , .libPaths() ) )```\n\n**Disclaimer: You may need to re-install your libraries**" + "help": "Set R_LIBS_USER in `$HOME/.Renviron:\n\n```\nR_LIBS_USER=\"$XDG_DATA_HOME\"/R/x86_64-pc-linux-gnu-library\n```\n\nYou may find it necessary to append this line to the end of `/usr/lib/R/library/base/R/Rprofile`:\n\n```R.libPaths( c( \"$XDG_DATA_HOME/R/x86_64-pc-linux-gnu-library/\" , .libPaths() ) )```\n\n**Disclaimer: You may need to re-install your libraries**" } ] } -- 2.47.3