GitHub

Connecting a Python Environment with R (rgee) using Rstudio 1.4

1. Install the earthengine-api from the terminal.

MacOS/Linux:

Conda Package Manager:

conda update -c conda-forge earthengine-api

Python Package Installer (pip):

pip install earthengine-api --upgrade

Windows:

Download/Install miniconda:

https://docs.conda.io/en/latest/miniconda.html

Conda Package Manager:

conda update -c conda-forge earthengine-api

2. Go to Tools > Global Options > Python

3. Terminate your R session and run again ee_Initialize():

library(rgee)
ee_Initialize()

Read the original on github.com ↗