Leprechault
Leprechault

Reputation: 1823

Reset and change Google Drive credentials

I'd like to change Google Drive credentials after ee_Initialize(drive = TRUE). I install again rgee and ee_install() but not new credential in Tidyverse API Packages was demand.

Please, any help to fix it?

Upvotes: 0

Views: 220

Answers (1)

Leprechault
Leprechault

Reputation: 1823

First, you find the credential path:

library(rgee)
ee_path <- path.expand("~/.config/earthengine/credentials")
ee_path
[1] "C:/Users/fores/Documents/.config/earthengine/credentials"

Them you remove all the content inside 'earthengine' directory and ee_Initialize(drive = TRUE) again. Problem solved!!

Upvotes: 0

Related Questions