Skip to content

Commit

Permalink
refactor(moved computationally intensive plots to separate page)
Browse files Browse the repository at this point in the history
  • Loading branch information
ptdewey committed May 1, 2024
1 parent 8c379a1 commit f383352
Show file tree
Hide file tree
Showing 7 changed files with 2,636 additions and 4,920 deletions.
7 changes: 5 additions & 2 deletions default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,14 @@ in pkgs.mkShell rec {

R
rPackages.rmarkdown
rPackages.gapminder
rPackages.knitr
rPackages.tidyverse
rPackages.plotly
rPackages.gapminder
rPackages.reticulate
rPackages.tidyverse
rPackages.dslabs
rPackages.patchwork
rPackages.Rtsne

git
];
Expand Down
2,251 changes: 103 additions & 2,148 deletions docs/index.html

Large diffs are not rendered by default.

2,349 changes: 2,349 additions & 0 deletions docs/mnist_exploratory.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion knit.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# create temporary rscript
tempscript=$(mktemp /tmp/knitscript.XXXXX) || { echo "Failed to create temp script"; return 1 2>/dev/null || exit 1; }

echo "library(rmarkdown); rmarkdown::render('src/index.Rmd', output_dir='docs')" >> $tempscript
echo "library(rmarkdown); rmarkdown::render('src/index.Rmd', output_dir='docs'); rmarkdown::render('src/mnist_exploratory.Rmd', output_dir='docs')" >> $tempscript

cat $tempscript
if ! Rscript $tempscript; then
Expand Down
Loading

0 comments on commit f383352

Please sign in to comment.