Description Usage Arguments Details Value Note See Also
View source: R/gcloud-storage.R
Provides a local filesystem interface to Google Storage buckets. Many
package functions accept only local filesystem paths as input (rather than
gs:// URLs). For these cases the gcloud_path()
function will synchronize
gs:// buckets to the local filesystem and provide a local path interface
to their contents.
1 | gs_data_dir_local(url, local_dir = "gs", echo = FALSE)
|
url |
Google Storage bucket URL (e.g. |
local_dir |
Local directory to synchonize Google Storage bucket(s) to. |
echo |
Echo command output to console. |
If you pass a local path as the url
it will be returned
unmodified. This allows you to for example use a training flag for the
location of data which points to a local directory during
development and a Google Cloud bucket during cloud training.
Local path to contents of bucket.
For APIs that accept gs:// URLs directly (e.g. TensorFlow datasets)
you should use the gs_data_dir()
function.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.