:exclamation: This is a read-only mirror of the CRAN R package repository. googleCloudStorageR — Interface with Google Cloud Storage API. Homepage: https://code.markedmondson.me/googleCloudStorageR/ Report bugs for this package: https://github.com/cloudyr/googleCloudStorageR/issues
When I overwrite a file on a bucket, or I remove old file and put same file on a bucket on google storage, I have to wait 30 minutes before to see the change, it's look like that google storage keep in memory the old file.
My code to connect on a bucket:
`path_log<-paste("google_auth",auth_json,sep="/")
Sys.setenv("GCS_AUTH_FILE" = path_log)
library(googleCloudStorageR)
gcs_get_bucket(bucket)
Sys.setenv("GCS_DEFAULT_BUCKET" = bucket)
gcs_global_bucket(bucket)
buckets <- gcs_list_buckets(proj)
bucket_info <- gcs_get_bucket(bucket)`
The configuration of the bucket:
I use gcs_upload(df_poids, name = "test.csv",predefinedAcl="publicRead") to write file on storage,
and
gcs_get_object(object_name="test.csv",saveToDisk="test.csv",overwrite=T) to read the file.
Hello,
When I overwrite a file on a bucket, or I remove old file and put same file on a bucket on google storage, I have to wait 30 minutes before to see the change, it's look like that google storage keep in memory the old file.
My code to connect on a bucket:
`path_log<-paste("google_auth",auth_json,sep="/")
Sys.setenv("GCS_AUTH_FILE" = path_log)
library(googleCloudStorageR)
gcs_get_bucket(bucket)
Sys.setenv("GCS_DEFAULT_BUCKET" = bucket)
gcs_global_bucket(bucket)
buckets <- gcs_list_buckets(proj)
bucket_info <- gcs_get_bucket(bucket)`
The configuration of the bucket:
I use
gcs_upload(df_poids, name = "test.csv",predefinedAcl="publicRead")
to write file on storage, andgcs_get_object(object_name="test.csv",saveToDisk="test.csv",overwrite=T)
to read the file.