Description Usage Arguments Value Examples
This transforms an address in the server to a path.
Transform a path to a server address sufix (after object@address)
Takes a path and transforms it into and address.
Takes a path and transforms it into a tree.
1 2 3 4 5 6 7 | address2path(x, address = "file://", path = "")
path2address_sufix(x, address = "file://")
path2address(x, address = "file://")
path_tree(path, hide = FALSE)
|
x |
Path. |
address |
Server address, Default: 'file://'. |
path |
Path equivalent of the address, Default: ”. |
hide |
Make it collapsible, Default: FALSE. |
Path.
Path ready to go after 'address'.
Address.
Prints the tree.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 | ## Not run:
if(interactive()){
address2path("file://Groups/mypath/step")
address2path(
x = "https://my_website/Groups/mypath/step",
address = "https://my_website/Groups",
path = "/mnt/Groups"
)
}
## End(Not run)
## Not run:
if(interactive()) path2address_sufix("/mnt/Groups/mypath/step")
## End(Not run)
## Not run:
if(interactive()) path2address("/mnt/Groups/mypath/step")
## End(Not run)
## Not run:
if(interactive()) path_tree("~/Documents", hide = TRUE)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.