Description Usage Arguments Value See Also Examples
Configure which version of Python to use with rgee. This function creates two environment variables: 'EARTHENGINE_PYTHON' and 'EARTHENGINE_ENV' both will be saved into the file .Renviron.
1 2 3 4 5 6 | ee_install_set_pyenv(
py_path = NULL,
py_env = NULL,
Renviron = "global",
quiet = FALSE
)
|
py_path |
The path to a Python interpreter |
py_env |
The name of the environment |
Renviron |
Character. If it is "global" the environment variables are set in the .Renviron located in the Sys.getenv("HOME") folder. On the other hand, if it is "local" the environment variables are set in the .Renviron on the working directory (getwd()). Finally, users can also enter a specific path (See examples). |
quiet |
Logical. Suppress info message |
no return value, called for setting EARTHENGINE_PYTHON in .Renviron
Other ee_install functions:
ee_install_upgrade()
,
ee_install()
1 2 3 4 5 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.