R/hhpdf.R

Defines functions hhlatex hhpng hhcode hhcapture hhdev.off hhpdf

Documented in hhcapture hhcode hhdev.off hhlatex hhpdf hhpng

## for use when running as an ordinary user
hhpdf <- function(file, ...) {invisible(NULL)}

hhdev.off <- function(...) {invisible(NULL)}

hhcapture <- function(file, text, echo=TRUE, print.eval=TRUE) {
  source(textConnection(text),
         echo=TRUE, print.eval=TRUE, keep.source=TRUE,
         max.deparse.length=500)
}

hhcode <- function(file, text) {
  cat(text)
}

hhpng <- function(file, ...) {invisible(NULL)}

hhlatex <- function(file="", ...) {
  file.tex <- Hmisc::latex(file="", ...)
  invisible(NULL)
}

Try the HH package in your browser

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

HH documentation built on Aug. 9, 2022, 5:08 p.m.