Advertisement
Guest User

Untitled

a guest
Mar 11th, 2019
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.58 KB | None | 0 0
  1. with import <nixpkgs> {};
  2. let
  3.   my-R-packages = with rPackages; [
  4.   tidyverse googlesheets here httpuv prophet umap
  5.   readxl GGally forecast plotly knitr kableExtra
  6.   reshape2 corrplot RColorBrewer RPostgreSQL
  7.   DBI anytime devtools ];
  8.  
  9.   R-with-my-packages = rWrapper.override{ packages = with rPackages; my-R-packages; };
  10.   RStudio-with-my-packages = rstudioWrapper.override{ packages = with rPackages; my-R-packages; };
  11.  
  12. in stdenv.mkDerivation {
  13.   name = "myR";
  14.   buildInputs = [ R-with-my-packages
  15.                   RStudio-with-my-packages
  16.                   pandoc ];
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement