Connecting Google Earth Engine to R

Hi, I've been trying to connect Google Earth Engine to R using the rgee package but once I get to ee_Initialize() I get the following error:
── rgee 1.1.4 ──────────── earthengine-api 0.1.317 ── :heavy_check_mark: user: not_defined :heavy_check_mark: Initializing Google Earth Engine:sh: gcloud: command not found Fetching credentials using gcloud

[image] Show Traceback

Error in py_call_impl(callable, dots$args, dots$keywords) : Exception: gcloud failed. Please check for any errors above and install gcloud if needed.


I installed gcloud through the macbook's terminal and I also installed cloudml in R, but I still get the same error.

Update: I followed these instructions and everything worked: Introduction to rgee

2 Likes