Authorize rgee to manage Earth Engine resources, Google
Drive, and Google Cloud Storage. The ee_initialize()
via
web-browser will ask to sign in to your Google account and
allows you to grant permission to manage resources. This function is
a wrapper around rgee::ee$Initialize()
.
ee_Initialize( email = NULL, drive = FALSE, gcs = FALSE, display = FALSE, quiet = FALSE )
Character (optional, e.g. |
|
drive | Logical (optional). If TRUE, the drive credential
will be cached in the path |
gcs | Logical (optional). If TRUE, the Google Cloud Storage
credential will be cached in the path |
display | Logical. If TRUE display the earthengine authentification URL. |
quiet | Logical. Suppress info messages. |
ee_Initialize(...)
can manage Google drive and Google
Cloud Storage resources using the R packages googledrive and
googlecloudStorageR, respectively. By default, rgee does not require
them, these are only necessary to enable rgee I/O functionality.
All user credentials are saved in the directory
~/.config/earthengine/
, if a user does not specify the email
argument all user credentials will be saved in a subdirectory
called ~/.config/earthengine/ndef
.
Other session management functions:
ee_user_info()
,
ee_users()
,
ee_version()
if (FALSE) { library(rgee) # Simple init - Load just the Earth Engine credential ee_Initialize() # Advanced init - Load full credentials # ee_Initialize( # email = "your_email@gmail.com", # drive = TRUE, # gcs = TRUE # ) ee_user_info() }