Hemken / SASmarkdown

A collection of R functions that extends knitr's capability for using SAS as a language engine
Other
21 stars 5 forks source link

Save intermediate files #2

Closed Hemken closed 7 years ago

Hemken commented 7 years ago

Save any/all of the .sas, .log, .lst files.

Hemken commented 7 years ago

This could be approached with either a chunk option, or with YAML and knit_params(). The former would save a more parsimonious set of files, while the latter would save everything?

Hemken commented 7 years ago

Added a chunk option, "saveSAS", allowing users to save intermediate files for any given chunk. Files are named using the chunk label. (Where files are not being saved, they have arbitrary names.) This could be set as a default option to save intermediate files from all code chunks (all chunks that use the SAS engines).