R: Difference between revisions
imported>Josephsdavid Added dependency description for knit to pdf |
imported>Josephsdavid removed idiotic src statement |
||
Line 63: | Line 63: | ||
Below is an example of a nix-shell build to run R with knitr for R markdown: | Below is an example of a nix-shell build to run R with knitr for R markdown: | ||
''' | '''shell.nix''' | ||
<syntaxhighlight lang = "nix"> | <syntaxhighlight lang = "nix"> | ||
let | let | ||
Line 72: | Line 72: | ||
name = "Speedracer"; | name = "Speedracer"; | ||
version = "1"; | version = "1"; | ||
buildInputs = [ | buildInputs = [ |