Description Usage Arguments Details Value See Also
Create an qingcurl connection
1 2 3 4 | qingcurl(object, bucket, open = "rb", accelerate = FALSE,
region = Sys.getenv("Qstor_DEFAULT_REGION", "pek3a"),
key = Sys.getenv("Qstor_ACCESS_KEY_ID"),
secret = Sys.getenv("Qstor_SECRET_ACCESS_KEY"))
|
object |
Character string with the object key, or an object of class “object”. In most cases, if |
bucket |
Character string with the name of the bucket. |
open |
One of “r” or “rb”. |
region |
A character string containing the QingStor region. Ignored if region can be inferred from |
key |
A character string containing an Qingstor Access Key ID. If missing, defaults to value stored in environment variable “Qstor_ACCESS_KEY_ID”. |
secret |
A character string containing an QingStor Secret Access Key. If missing, defaults to value stored in environment variable “Qstor_SECRET_ACCESS_KEY”. |
This function creates a curl
connection to be used for asynchronous reading from an Qing object.
If file = NULL
, a raw object. Otherwise, a character string containing the file name that the object is saved to.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.