Description Usage Arguments Value See Also
Create an isolated Python virtual environment with all rgee dependencies.
ee_install
realize the following six (6) tasks:
1. If you do not count with a Python environment, it will display an interactive menu to install Miniconda (a free minimal installer for conda).
2. Remove the previous Python environment defined in py_env
if
it exist.
3. Create a new Python environment (See py_env
).
4. Set the environment variable EARTHENGINE_PYTHON. It is used to define RETICULATE_PYTHON when the library is loaded. See this article for further details.
5. Install rgee Python dependencies. Using
reticulate::py_install
.
6. Interactive menu to confirm if restart the R session to see changes.
1 2 3 4 5 | ee_install(
py_env = "rgee",
earthengine_version = ee_version(),
confirm = interactive()
)
|
py_env |
Character. The name, or full path, of the Python environment to be used by rgee. |
earthengine_version |
Character. The Earth Engine Python API version
to install. By default |
confirm |
Logical. Confirm before restarting R?. |
No return value, called for installing non-R dependencies.
Other ee_install functions:
ee_install_set_pyenv()
,
ee_install_upgrade()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.