Description Usage Arguments Author(s) References See Also
These functions
1 2 3 4 5 6 | addFile(contents, bucket, name = basename(contents), access = NA,
type = if (is.raw(contents)) "binary/octet-stream" else "text/plain",
meta = character(), encoding = NA,
isContents = is.raw(contents) || is(contents, "AsIs"),
auth = getOption("AmazonS3"), curl = getCurlHandle(),
virtual = (tolower(bucket) == bucket))
|
contents |
the name of a file or the actual contents.
To store text directly from and R character string,
wrap it as an AsIs object, e.g. |
bucket |
the name of the AWS bucket. One can also specify the bucket and object/file name as "bucket/name". |
name |
the name of the object within the bucket to remove |
auth |
a named character vector giving the AWS key and secret as a |
curl |
a curl handle that the caller can specif to reuse an existing object that is resused across different libcurl calls. |
virtual |
a logical value indicating whether to use the virtual
host mechanism or |
access |
a character string specifying the access for this new
object. This should be one of
|
type |
the content type of the object being stored. One should use common, recognized types such as image/png, image/jpg, text/html, application/json, ... |
meta |
a character vector of name - value pairs which specify meta-information about the object being stored. |
encoding |
if specified, the character encoding of the file. |
isContents |
a logical value indicating whether the value of
|
Duncan Temple Lang <duncan@wald.ucdavis.edu>
http://docs.amazonwebservices.com/AmazonS3/latest/gsg/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.