Nothing
sasr
sasr
is a package to provide SAS
interface in R, with saspy
and reticulate
as backend.
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.
To use sasr
, you need to follow these steps
sascfg_personal.py
under your working directory or the home directory. This is the default file that sasr
will look at. However, you can still change that through options(sascfg = )
, then sasr
will try to find any name that is available in your specified option.sascfg()
to create the file. Required arguments include host
and saspath
.sascfg()
only creates ssh based SAS session.host
is the hostname of the SAS server.saspath
is the SAS executable path on the SAS server.tunnel
and rtunnel
are required if you want to transfer datasets between R and SAS if the client (running sasr) is not reachable from the server. Use integers like tunnel = 9999L
in R, or modify sascfg_personal.py
to make sure they are integers.run_sas
, df2sd
or sd2df
..sasr_env$.sas_session
.sasr_env$.sas_session
is created, this session will be used by default..sas_session
in environment sasr:::.sasr_env
sas_session()
SAS_session
have one argument sascfg
, pointing to the SAS session configuration file.your_session <- sas_session(sascfg)
df2sd
run_sas
to submit SAS code to the SAS server.LST
is the result and LOG
is the log filerun_sas
has argument results=
, it can be either "TEXT" or "HTML". This argument decides the LST format.sd2df
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.