diff --git a/programs/R.json b/programs/R.json new file mode 100644 index 00000000..4fdf7684 --- /dev/null +++ b/programs/R.json @@ -0,0 +1,10 @@ +{ + "name": "R", + "files": [ + { + "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**" + } + ] +} diff --git a/programs/rstudio.json b/programs/rstudio.json deleted file mode 100644 index 3b96acf0..00000000 --- a/programs/rstudio.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "name": "rstudio", - "files": [ - { - "path": "$HOME/R", - "movable": true, - "help": "Default directory location can be configured in RStudio\nReference: https://www.accelebrate.com/library/how-to-articles/r-rstudio-library" - } - ] -}