Initialize text required python packages to call from R.
textrpp_initialize(
python_executable = NULL,
virtualenv = NULL,
condaenv = "textrpp_condaenv",
ask = FALSE,
refresh_settings = FALSE,
save_profile = FALSE,
check_env = TRUE,
textEmbed_test = FALSE,
prompt = TRUE
)the full path to the Python executable, for which text required python packages is installed.
set a path to the Python virtual environment with text required python packages
installed Example: virtualenv = "~/myenv"
set a path to the anaconda virtual environment with text required python packages
installed Example: condalenv = "myenv"
logical; if FALSE, use the first text required python packages installation found;
if TRUE, list available text required python packages installations and prompt the user for
which to use. If another (e.g. python_executable) is set, then this
value will always be treated as FALSE.
logical; if TRUE, text will ignore the saved
settings in the profile and initiate a search of new settings.
logical; if TRUE, the current text required python packages setting will
be saved for the future use.
logical; check whether conda/virtual environment generated
by textrpp_install() exists
logical; Test whether function (textEmbed) that requires python packages works.
logical; asking whether user wants to set the environment as default.