dotfiles/entropy/nixos/modules/r.nix

26 lines
450 B
Nix
Raw 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
rlang
lazyeval
2022-03-10 12:24:15 +00:00
patchwork
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
2021-10-26 14:25:03 +00:00
];
};
2020-12-21 14:13:39 +00:00
in
2021-10-26 14:25:03 +00:00
[ R-with-my-packages rstudioEnv ];
2020-12-21 14:13:39 +00:00
}