From: marcingold22 <94906648+marcingold22@users.noreply.github.com> Date: Wed, 1 Jan 2025 14:58:29 +0000 (+0100) Subject: Update .Renviron to use curly brackets for Environment Variables (#448) X-Git-Url: https://glassweightruler.freedombox.rocks/gitweb/xdg-ninja.git/commitdiff_plain/5fae05a325e1cbb1f29ab451e27279994c5df5df?ds=sidebyside Update .Renviron to use curly brackets for Environment Variables (#448) --- diff --git a/programs/R.json b/programs/R.json index a06ce51..c74a53f 100644 --- a/programs/R.json +++ b/programs/R.json @@ -4,7 +4,7 @@ { "path": "$HOME/R", "movable": true, - "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**" + "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**" }, { "path": "$HOME/.Rprofile",