Created
August 15, 2019 11:20
-
-
Save cfhammill/5dc37bdeadbfb20c5bee4c975a148477 to your computer and use it in GitHub Desktop.
A simple nix environment for R analyses. Copy to a folder where you'd like to run an analysis and run `nix-shell`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ pkgs ? import <nixpkgs> {} }: | |
with pkgs; | |
mkShell { | |
buildInputs = [ git emacs ] ++ | |
(with rPackages; | |
[ | |
R | |
ggplot2 | |
brms | |
tidyverse | |
bayesplot | |
rstan | |
rstanarm | |
rstantools | |
]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment