gcs_save: Save .RData objects to the Google Cloud

Description Usage Arguments Details Value See Also

View source: R/rsession.R

Description

Performs save then saves it to Google Cloud Storage.

Usage

1
2

Arguments

...

The names of the objects to be saved (as symbols or character strings).

file

The file name that will be uploaded (conventionally with file extension .RData)

bucket

Bucket to store objects in

envir

Environment to search for objects to be saved

Details

For all session data use gcs_save_image instead.

gcs_save(ob1, ob2, ob3, file = "mydata.RData") will save the objects specified to an .RData file then save it to Cloud Storage, to be loaded later using gcs_load.

For any other use, its better to use gcs_upload and gcs_get_object instead.

Restore the R objects using gcs_load(bucket = "your_bucket")

This will overwrite any data within your local environment with the same name.

Value

The GCS object

See Also

Other R session data functions: gcs_load, gcs_save_all, gcs_save_image, gcs_source


googleCloudStorageR documentation built on Nov. 18, 2017, 4:07 a.m.