Description Usage Arguments Details Examples
Set the Python environment to be used on rgee
1 2 3 4 5 6 7 | ee_set_pyenv(
python_path,
python_env = NULL,
automatic_pyenv = TRUE,
install = FALSE,
confirm = interactive()
)
|
python_path |
The path to a Python interpreter, to be used with rgee. |
python_env |
The name of, or path to, a Python virtual environment. If not defined will estimate from the path. |
automatic_pyenv |
Logical. Search automatically in the python_path the
python_env. Ignore when the |
install |
if TRUE, rgee will save the Python interpreter path and
the virtual environment name in the |
confirm |
Logical. Confirm if restart R when the 'install' argument is TRUE. |
It is necessary to restart R to observe change when setting a different Python version. ee_set_pyenv will ask you to restart R.
1 2 3 4 5 6 7 8 9 10 | ## Not run:
library(rgee)
ee_create_pyenv('ee')
ee_discover_pyenvs()
ee_set_pyenv(
python_path = ".../ee/bin/python",
python_env = 'ee')
ee_install_python_packages()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.