Description Usage Arguments Value See Also Examples
Makes subdirectory on Manta. Specify absolute (e.g.
~~/stor
) or relative path from the current Manta
directory. Supports creation of parent directories with
p = TRUE
. New directories can be created in
~~/stor
your private space or ~~/public
a
publically accessible HTTPS directory.
1 | mantaMkdir(mantapath, p = FALSE, info = TRUE)
|
mantapath |
character, required. Path or name of new subdirectory to create. Not vectorized. |
p |
logical, optional. Make all the parent directories too. |
info |
logical. Set FALSE to suppress console messages. |
TRUE
or FALSE
depending on success of upload.
Other Directory: mantaGetwd
;
mantaRmdir
; mantaRm
;
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:
## Make absolute path subdirectory
mantaMkdir("~~/stor/testdirectory")
mantaLs.l("~~/stor")
mantaRmdir("~~/stor/testdirectory")
## Make with parent directories,
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
data <- runif(100)
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.