Authorize rgee to manage Earth Engine resources, Google
Drive, and Google Cloud Storage. The
web-browser will ask users to sign into your Google account and
allows you to grant permission to manage resources. This function is
a wrapper around
ee_Initialize( user = NULL, drive = FALSE, gcs = FALSE, display = FALSE, quiet = FALSE )
Character (optional, e.g.
data.colec.fbf). The user
argument is used to create a folder inside the path
~/.config/earthengine/ that save all the credentials for a specific
Logical (optional). If TRUE, the drive credential
is cached in the path
Logical (optional). If TRUE, the Google Cloud Storage
credential is cached in the path
Logical. If TRUE, display the earthengine authentication URL.
Logical. Suppress info messages.
No return value, called for initializing the earthengine-api.
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 "user"
argument, all user credentials are saved in the the subdirectory