run_sas {sasr}R Documentation

Run SAS code with SAS Session

Description

[Experimental] Run SAS code with a SAS session.

Usage

run_sas(sas_code, results = c("TEXT", "HTML"), sas_session = get_sas_session())

Arguments

sas_code

(character)
sas code to be executed.

results

(character)
sas code execution results type.

sas_session

(saspy.sasbase.SASsession) SAS session.

Details

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.

Value

Named list with following elements:


[Package sasr version 0.1.2 Index]