R/zzz.R

.onLoad <- function(libname, pkgname){
  options("lazyReportFormat" = "markdown")
  options("lazyWeave_latexComments" = "markdown")
  options("lazyWeave_cat" = TRUE)
  options("htmlCounters" = new.env())
  assign("HTML.COUNTER.TABLE", 1, envir=options()$htmlCounters)
  assign("HTML.COUNTER.FIGURE", 1, envir=options()$htmlCounters)
  assign("HTML.COUNTER.FOOTNOTE", 1, envir=options()$htmlCounters)
  assign("HTML.COUNTER.CHAPTER", 1, envir=options()$htmlCounters)
  assign("HTML.COUNTER.SECTION", 1, envir=options()$htmlCounters)
  assign("HTML.COUNTER.SUBSECTION", 1, envir=options()$htmlCounters)
  assign("HTML.COUNTER.SUBSUBSECTION", 1, envir=options()$htmlCounters)
  assign("HTML.FOOTNOTES", NULL, envir=options()$htmlCounters)
  assign("HTML.FONT.FAMILY", "serif", envir=options()$htmlCounters)
  assign("HTML.FONT.FONT", "helvetica", envir=options()$htmlCounters)
  assign("HTML.FONT.SIZE", 11, envir=options()$htmlCounters)
}

Try the lazyWeave package in your browser

Any scripts or data that you put into this service are public.

lazyWeave documentation built on May 2, 2019, 12:35 p.m.