Description Usage Arguments Details Examples
This function upgrade the Earth Engine Python API (earthengine-api) to the latest version.
1 2 3 4 5 6 7 8 9 | ee_earthengine_upgrade(
method = c("auto", "virtualenv", "conda"),
conda = "auto",
envname = NULL,
pip = TRUE,
conda_python_version = "3.7",
confirm = interactive(),
...
)
|
method |
Installation method. By default, "auto" automatically finds a method that will work in the local environment. Change the default to force a specific installation method. Note that the "virtualenv" method is not available on Windows (as this isn't supported by rgee). Note also that since this command runs without privilege the "system" method is available only on Windows. |
conda |
Path to conda executable (or "auto" to find conda using the PATH and other conventional install locations). |
envname |
Name of Python environment, or full path, which Python packages are to be installed. |
pip |
Logical. Use pip for package installation? This is only relevant when Conda environments are used, as otherwise packages will be installed from the Conda repositories. |
conda_python_version |
the Python version installed in the created conda environment. Python 3.7 is installed by default. |
confirm |
Logical. Confirm if restart R when the 'install' argument is TRUE. |
... |
other arguments passed to conda_install or virtualenv_install. |
It is neccessary restart R to observe change when installing Python packages. rgee only is compatible with Python version 3.5 >=.
1 2 3 4 5 | ## Not run:
library(rgee)
ee_earthengine_upgrade()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.