mantaSource: Downloads specified Manta R source code file and applies...

Description Usage Arguments Value See Also Examples

View source: R/mantaSource.R

Description

Downloads specified Manta R source code file and applies source to parse/load it.

Usage

1
2
3
mantaSource(mantapath, local = FALSE, verbose = FALSE,
  max.deparse.length = 150, encoding = getOption("encoding"),
  keep.source = getOption("keep.source"))

Arguments

mantapath

character, optional. Path to a manta R code file or file name in current working Manta directory for retrieval. Not vectorized.

local

logical optional. See source.

verbose

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

max.deparse.length

optional. See source.

encoding

optional. See source.

keep.source

optional. See source.

Value

TRUE or FALSE depending on success of download.

See Also

mantaDump

Other mantaGet: mantaCat; mantaGet; mantaLoad.ws; mantaLoad; mantaSave

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
data <- runif(100)
ls()
mantaDump("data")
rm(data)
mantaCat("dumpdata.R")
ls()
mantaSource("dumpdata.R")
ls()
mantaRm("dumpdata.R")
rm(data)

## End(Not run)

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