Skip to content

Commit

Permalink
since knitr 1.1.9 I only need to use quiet=TRUE to make knitr into qu…
Browse files Browse the repository at this point in the history
…iet mode (no progress bar)
  • Loading branch information
yihui committed Mar 27, 2013
1 parent 0e14b6c commit 87e217f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions _bin/knit
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ for (i in setdiff(c(
}

# formatR indent 2 spaces; print width 65; no progress
options(reindent.spaces = 2, KNITR_WIDTH = 65, KNITR_PROGRESS = FALSE)
options(reindent.spaces = 2, KNITR_WIDTH = 65)

library(knitr)
stopifnot('_source' %in% list.files()) # run me from the root directory
Expand Down Expand Up @@ -42,5 +42,5 @@ invisible(local({
opts_knit$set(base.url = if (as.character(file.info('figure/')[, 'mode']) != '2755') '/figure/' else {
'http://isu.r-forge.r-project.org/vistat/'
})
knit(f, paste('_posts/', base, '.md', sep = ''), envir = globalenv())
knit(f, paste('_posts/', base, '.md', sep = ''), envir = globalenv(), quiet = TRUE)
}))

0 comments on commit 87e217f

Please sign in to comment.