dotfiles/entropy/nixos/modules/r.nix

30 lines
535 B
Nix
Raw Permalink Normal View History

2020-12-21 14:13:39 +00:00
{ pkgs, ... }:
{
environment.systemPackages = with pkgs;
let
R-with-my-packages = rWrapper.override {
packages = with rPackages; [
ggplot2
2022-06-15 15:14:20 +00:00
tidyverse
2020-12-21 14:13:39 +00:00
rlang
lazyeval
2022-03-10 12:24:15 +00:00
patchwork
2023-07-16 19:03:13 +00:00
tikzDevice
2020-12-21 14:13:39 +00:00
];
};
2021-10-26 14:25:03 +00:00
rstudioEnv = rstudioWrapper.override {
packages = with rPackages; [
ggplot2
tidyverse
rlang
lazyeval
2022-03-10 12:24:15 +00:00
patchwork
2023-07-16 19:03:13 +00:00
tikzDevice
2021-10-26 14:25:03 +00:00
];
};
2020-12-21 14:13:39 +00:00
in
2022-08-08 08:27:16 +00:00
[ R-with-my-packages rstudioEnv ];
#[ R-with-my-packages ];
2020-12-21 14:13:39 +00:00
}