run_sas | R Documentation |
Run SAS code with a SAS session.
run_sas(sas_code, results = c("TEXT", "HTML"), sas_session = get_sas_session())
sas_code |
( |
results |
( |
sas_session |
( |
run_sas
will run sas code through SAS session.
The results is a named list of LST
and LOG
.
The result part will be stored in LST
, and log will be stored in LOG
.
If results
argument is "TEXT", then results are in text format;
if results
argument is "HTML", then results are in html format.
Named list with following elements:
LOG
: string
of SAS execution log.
LST
: string
of SAS execution result, in html or txt format.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.