This commit is contained in:
EdenQwQ 2025-03-09 21:36:10 +08:00
parent 7ec03b1d88
commit bfeebbb7fc
3 changed files with 28 additions and 18 deletions

22
pkgs/R.nix Normal file
View file

@ -0,0 +1,22 @@
pkgs:
let
rPkgs = with pkgs.rPackages; [
ggplot2
dplyr
tidyverse
bruceR
afex
ggpubr
reshape2
rmdformats
see
];
in
{
myR = pkgs.rWrapper.override {
packages = rPkgs;
};
myRstudio = pkgs.rstudioWrapper.override {
packages = rPkgs;
};
}

View file

@ -1,14 +0,0 @@
pkgs:
pkgs.rstudioWrapper.override {
packages = with pkgs.rPackages; [
ggplot2
dplyr
tidyverse
bruceR
afex
ggpubr
reshape2
rmdformats
see
];
}