]> glassweightruler.freedombox.rocks Git - xdg-ninja.git/blob - programs/R.json
Update .Renviron to use curly brackets for Environment Variables (#448)
[xdg-ninja.git] / programs / R.json
1 {
2 "name": "R",
3 "files": [
4 {
5 "path": "$HOME/R",
6 "movable": true,
7 "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**"
8 },
9 {
10 "path": "$HOME/.Rprofile",
11 "movable": true,
12 "help": "Export the following environment variable:\n\n```bash\nexport R_PROFILE_USER=\"$XDG_CONFIG_HOME/R/profile\"\n```\n"
13 },
14 {
15 "path": "$HOME/.Rdata",
16 "movable": true,
17 "help": "Export the following environment variable:\n\n```bash\nexport R_HOME_USER=\"$XDG_CONFIG_HOME/R\"\n```\n"
18 },
19 {
20 "path": "$HOME/.Rhistory",
21 "movable": true,
22 "help": "Export the following environment variable:\n\n```bash\nexport R_HISTFILE=\"$XDG_CONFIG_HOME/R/history\"\n```\n"
23 }
24 ]
25 }