This function initializes the 'python' environment for the package.
Arguments
- py_ver
a string that gives the 'python' version to be installed. If
py_ver = NULL
, the default 'python' version '3.9.13' will be installed.- dgpsi_ver
a string that gives the 'python' version of 'dgpsi' to be used. If
dgpsi_ver = NULL
,the latest 'python' version of 'dgpsi' will be used, if the package is installed from CRAN;
the development 'python' version of 'dgpsi' will be used, if the package is installed from GitHub.
- reinstall
a bool that indicates whether to reinstall the 'python' version of 'dgpsi' specified in
dgpsi_ver
if it has already been installed. This argument is useful when the development version of the R package is installed and one may want to regularly update the development 'python' version of 'dgpsi'. Defaults toFALSE
.- uninstall
a bool that indicates whether to uninstall the 'python' version of 'dgpsi' specified in
dgpsi_ver
if it has already been installed. This argument is useful when the 'python' environment is corrupted and one wants to completely uninstall and reinstall it. Defaults toFALSE
.- verb
a bool indicating if the trace information will be printed during the function execution. Defaults to
TRUE
.
Details
See further examples and tutorials at https://mingdeyu.github.io/dgpsi-R/.