The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
sasr
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. 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_ssh()
SAS_session
have one argument sascfg
,
pointing to the SAS session configuration file.your_session <- sas_session_ssh(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
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.