Skip to contents

A SAS HTML5 engine for knitr

Usage

sas_engine(options)

Arguments

options

Options from knitr.

Value

knitr engine output.

Details

Will be activated by running library(sasquatch)

Supported knitr chunk options

sasquatch's engine implements may of the same options as the R engine in knitr, but not all.

  • eval (Default: TRUE): Evaluate the code chunk (if false, just echos the code into the output)

  • echo (Default: TRUE): Include the source code in output

  • output (Default: TRUE): Include the results of executing the code in the output (TRUE or FALSE).

  • include (Default: TRUE): Include any output (code or results).

  • capture (Default: "both"): If "both", tabpanel with output and log included. If "lst", only output is included. If "log" only log is included.

Examples

knitr::knit_engines$set(sas = sas_engine)