SASmarkdown icon indicating copy to clipboard operation
SASmarkdown copied to clipboard

User setting for chunk options: SASecho, SASproctime and SASnotes

Open quanzou opened this issue 1 year ago • 7 comments

Dear Maintainer and Author,

I am a SASMarkdown user for more than 1 year, and recently (under v 0.8.2), I was trying to set the chunk options: SASproctime, SASecho, SASnotes to either FALSE or TRUE in the SAS log under sashtml5 engine without success, the results always show SASecho only without SASproctime and SASnotes, i.e., "SASecho=T, SASproctime=F,SASnotes=F".

Could shed some lights on the following Rmd codes and point out where I make the mistake in using of saslog_hookset()? Thank you,

Settings under sasMarkdown version 0.8.2, R 4.3.1, SAS 9.4 (TS1M4)

```{r setup, include=FALSE} library(knitr) library(SASmarkdown)

sasexe <- "C:/Program Files/SASHome/SASFoundation/9.4/sas.exe" sasopts <- "-nosplash -ls 80 -ps 60" knitr::opts_chunk$set( engine.path=list(sashtml5=sasexe), engine.opts=list(sashtml5=sasopts), comment=NA) knit_hooks$set(source=sasloghook) ```

SASecho, SASproctime and SASnotes were not controlled properly under sashtml5.

```{sashtml5 bug, SASecho=F, SASproctime=T,SASnotes=T} ods html5 style=htmlblue; proc corr data=sashelp.class plots=matrix; run; ```

quanzou avatar Jul 25 '23 20:07 quanzou