dotfiles/entropy/nixos/modules/r.nix

29 lines
535 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = with pkgs;
let
R-with-my-packages = rWrapper.override {
packages = with rPackages; [
ggplot2
tidyverse
rlang
lazyeval
patchwork
tikzDevice
];
};
rstudioEnv = rstudioWrapper.override {
packages = with rPackages; [
ggplot2
tidyverse
rlang
lazyeval
patchwork
tikzDevice
];
};
in
[ R-with-my-packages rstudioEnv ];
#[ R-with-my-packages ];
}