textrpp_initialize {text}R Documentation

Initialize text required python packages

Description

Initialize text required python packages to call from R.

Usage

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
)

Arguments

python_executable

the full path to the Python executable, for which text required python packages is installed.

virtualenv

set a path to the Python virtual environment with text required python packages installed Example: virtualenv = "~/myenv"

condaenv

set a path to the anaconda virtual environment with text required python packages installed Example: condalenv = "myenv"

ask

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.

refresh_settings

logical; if TRUE, text will ignore the saved settings in the profile and initiate a search of new settings.

save_profile

logical; if TRUE, the current text required python packages setting will be saved for the future use.

check_env

logical; check whether conda/virtual environment generated by textrpp_install() exists

textEmbed_test

logical; Test whether function (textEmbed) that requires python packages works.

prompt

logical; asking whether user wants to set the environment as default.


[Package text version 1.2.3 Index]