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
virtualenv = "~/myenv"
set a path to the anaconda virtual environment with text required python packages
condalenv = "myenv"
FALSE, use the first text required python packages installation found;
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
TRUE, text will ignore the saved
settings in the profile and initiate a search of new settings.
TRUE, the current text required python packages setting will
be saved for the future use.
logical; check whether conda/virtual environment generated
logical; Test whether function (textEmbed) that requires python packages works.
logical; asking whether user wants to set the environment as default.