Adds sascfg_personal.py
and authinfo
files and prefills relevant info
according to a specified template.
Usage
configure_saspy(template = c("none", "oda"), overwrite = FALSE)
Details
Configuration for SAS can vary greatly based on your computer's operating
system and the SAS platform you wish to connect to (see
vignette("configuration")
for more information).
Regardless of your desired configuration, configuration always starts with
the creation of a sascfg_personal.py
file within the SASPy
package
installation. This will look like:
SAS_config_names
should contain a string list of the variable names
of all configurations. Configurations are specified as dictionaries,
and configuration parameters depend on the access method.
Additionally, some access methods will require an additional
authentication file (.authinfo
for Linux and Mac, _authinfo
for Windows) stored in the user's home directory, which are
constructed as follows:
Templates
The "none"
template simply creates a sascfg_personal.py
file within
the SASPy
package installation.
The "oda"
template will set up a configuration for SAS On Demand for
Academics. The sascfg_personal.py
and authinfo
files will be
automatically configured using the information you provide through prompts.