S3FileResourceGetter | R Documentation |
AWS S3 file resource getter
AWS S3 file resource getter
A R6 object of class S3FileResourceGetter
Access a file that is in the Amazon Web Services S3 file store or in a HTTP S3 compatible file store such as Minio. For AWS S3 the host name is the bucket name. For Minio, the url will include http or https base protocol. Credentials may apply.
resourcer::FileResourceGetter
-> S3FileResourceGetter
new()
Creates a new S3FileResourceGetter instance.
S3FileResourceGetter$new()
A S3FileResourceGetter object.
isFor()
Check that the provided resource has a URL that locates a file accessible through "s3" protocol or "s3+http" or "s3+https" protocol (i.e. using Minio implementation of the AWS S3 file store API over HTTP).
S3FileResourceGetter$isFor(resource)
resource
The resource object to validate.
A logical.
downloadFile()
Download the file from the remote address in a temporary location. Applies authentication if credentials are provided in the resource.
S3FileResourceGetter$downloadFile(resource, ...)
resource
A valid resource object.
...
Unused additional parameters.
The "resource.file" object.
clone()
The objects of this class are cloneable with this method.
S3FileResourceGetter$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.