try(detach("package:SASmarkdown"), silent=TRUE)
library(SASmarkdown)

If you are using the saslog or sashtmllog engines, or if you are allowing SAS semantic errors to appear in your document, you may not want to show the entire log file. To gain some control over what shows up in your document, you can use chunk options.

Hook Specification

These options are set up for you when you load the SASmarkdown library.

Hook Use

If we use the engine saslog

```{saslog procmeans2} `r ''`
proc means data=sashelp.class(keep=height);
run;
```

we don't see ALL of the SAS log file, but we may be showing more information than we really want to present to the reader. ```{saslog procmeans2} proc means data=sashelp.class(keep=height); run;

We can filter the log to suppress processing times by 
using chunk option `SASproctime=FALSE`.

    ```{saslog procmeans2, SASproctime=FALSE, results='hide'} `r ''`
    ```

```{saslog procmeans2, SASproctime=FALSE, results='hide'}

Other filtering options include no SAS command echo with SASecho=FALSE and no SAS NOTES with SASnotes=FALSE.

```{saslog procmeans2, SASecho=FALSE, results="hide"}

```{saslog procmeans2, SASnotes=FALSE, results="hide"}


Hemken/SASmarkdown documentation built on Jan. 14, 2024, 11:26 p.m.