Upload.httpapi | R Documentation |
Upload
but with extra optional arguments.Upload R data and store() it into a SciDB array.
Return a scidb object wrapping the array.
This function takes the same arguments as Upload
but with extra optional arguments.
## S3 method for class 'httpapi'
Upload(
db,
payload,
name = NULL,
gc = TRUE,
temp = FALSE,
attr_names = NULL,
attr_types = NULL,
dim_names = NULL,
dim_start_coordinates = NULL,
dim_chunk_sizes = NULL,
attrs = NULL,
attr = NULL,
types = NULL,
type = NULL,
start = NULL,
chunk_size = NULL,
...
)
db |
scidb database connection returned from |
payload |
an R data frame, raw value, Matrix, matrix, or vector object |
name |
a SciDB array name to store the payload into, or NULL to generate a unique name |
gc |
(logical) if TRUE, the SciDB array will be removed when the return value gets garbage-collected. Set to FALSE to disconnect the SciDB array from R's garbage collector, i.e. to persist the SciDB array beyond the lifetime of this session. |
temp |
(logical) make the SciDB array a temporary array (only lasting for the lifetime of the session) |
attr_names |
names for the uploaded attributes; if not provided,
the default names will vary depending on the type of object being
uploaded. |
attr_types |
types of the uploaded attributes; if not provided,
the types will be derived from the object being uploaded.
|
dim_names |
names for the dimensions in the uploaded array; if not provided, the dimension names will vary depending on the type of object being uploaded. |
dim_start_coordinates |
starting coordinates for each dimension;
if not provided, dimension coordinates start at zero.
|
dim_chunk_sizes |
chunk sizes for each dimension; if not provided,
the default chunk sizes will vary depending on the type of object
being uploaded. |
... |
other options, see implementations for each uploaded type |
A scidb
object wrapping the uploaded SciDB array
Upload(), as.scidb()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.