mantaDump: Uses 'dump' to upload text parsable R data to Manta Storage...

Description Usage Arguments Value See Also Examples

View source: R/mantaDump.R

Description

mantaDump is a wrapper for dump and mantaXfer, which implements the RCURL transfer

Usage

1
2
3
mantaDump(list, mantapath = "dumpdata.R", md5 = FALSE, headers,
  durability = 2, envir = parent.frame(), control = "all",
  evaluate = TRUE, info = TRUE, verbose = FALSE)

Arguments

list

required. See dump. List of R objects to dump. Name of R object in quotes works as well.

mantapath

optional. Default is dumpdata.R. Specify full Manta path to where uploaded R source will be saved or Manta object name in current working Manta directory. If no extension is provided on the filename, or a non R data style extension, .R is appended to the end of the filename.

md5

logical. Test md5 hash of R dump tempfile before/after upload.

headers

Headers for HTTP transfer, in RCurl style. See mantaPut.
User metadata headers may be provided, E.g.:
Avoid supplying the content-type header, which is set to the R source code text/R-code and the durability-level header which is handled via the durability parameter.

durability

optional. Number of copies to store on Manta (2-6). If not provided, uses saved value from mantaSetLimits, system default is 2.

envir

optional. See dump. Environment of R object being passed.

control

optional. See dump.

evaluate

optional. See dump.

info

logical required. Set to FALSE to silence console output messages.

verbose

logical, optional. Passed to RCurl GetURL, Set to TRUE to see background HTTPS REST communication on stderr Note this is not visible on Windows.

Value

TRUE or FALSE depending on success of upload.

See Also

mantaSource

Other mantaPut: mantaPut; mantaSave.image; mantaSave.ws

Examples

1
2
3
4
5
6
7
## Not run: 
data <- runif(100)
mantaDump("data")
mantaCat("dumpdata.R")
mantaRm("dumpdata.R")

## End(Not run)

joyent/mantaRSDK documentation built on May 19, 2019, 10:43 p.m.