For functionality wrapped in
sasr, you can find the
documentations through R documentation system, or through online documentation
page. However, there can be some other arguments not documented(in
...), and these arguments are described in
saspy documentation page.
sasr, you need to follow these steps
your working directory or the home directory. This is the default file
sasr will look at. However, you can still change that
options(sascfg = ), then
sasr will try
to find any name that is available in your specified option.
to create the file. Required arguments include
sascfg() only creates ssh based SAS session.
host is the hostname of the SAS server.
saspath is the SAS executable path on the SAS
rtunnel are required if you
want to transfer datasets between R and SAS. Use integers like
tunnel = 9999L in R, or modify
sascfg_personal.py to make sure they are integers.
.sasr_env$.sas_session is created, this session will
be used by default.
SAS_session have one argument
pointing to the SAS session configuration file.
your_session <- sas_session_ssh(sascfg)
run_sas to submit SAS code to the SAS server.
LST is the result
LOG is the log file
run_sas has argument
results=, it can be
either “TEXT” or “HTML”. This argument decides the LST format.