dotfiles/entropy/nixos/modules/r.nix

23 lines
414 B
Nix

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