Configure which version of Python to use with rgee
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.
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()
## Not run: library(rgee) # ee_install_set_pyenv(py_path = "/usr/bin/python3", Renviron = "local") # ee_install_set_pyenv(py_path = "/usr/bin/python3", Renviron = "/home/zgis/") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.