Description Usage Arguments Value See Also Examples
Removes object. Specify absolute (e.g.
~~/stor/myobject.txt
) or relative path from the
current Manta directory. Supports recursive removal of
child contents objects and directories with r =
TRUE
. You can use mantaFind
to prepare a list of
absolute Manta pathnames to objects with detailed searching
and filtering specifications and then use
lapply(pathnamelist, mantaRm)
to delete the items.
1 |
mantapath |
character, required. Not vectorized. |
r, |
logical optional. Set |
info |
logical. Set FALSE to suppress console messages. |
TRUE
or FALSE
depending on success of remove.
Other Directory: mantaGetwd
;
mantaMkdir
; mantaRmdir
;
mantaSetwd.public
;
mantaSetwd.reports
;
mantaSetwd.stor
; mantaSetwd
;
mantaSnapln
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 | ## Not run:
data <- runif(100)
mantaDump("data")
mantaCat("dumpdata.R")
mantaRm("dumpdata.R")
## Make a hierarchical directory set, for removal:
mantaGetwd() -> tempdir
mantaMkdir("~~/stor/a_test/b_test/c_test", p = TRUE)
mantaSetwd("~~/stor/a_test/b_test/c_test")
mantaMkdir("d_test") # Relative path
mantaDump("data")
mantaSetwd("..")
mantaDump("data")
mantaSetwd("..")
mantaDump("data")
mantaLs.l()
mantaFind()
## Recursive Rm Subdirectory Contents
mantaSetwd.stor()
mantaRm("~~/stor/a_test", r = TRUE)
mantaSetwd("~~/stor/a_test")
mantaLs.l()
mantaFind()
mantaSetwd.stor()
mantaRmdir("~~/stor/a_test")
mantaLs.l("~~/stor")
mantaSetwd(tempdir)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.