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.
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.
if (FALSE) { if(interactive()){ address2path("file://Groups/mypath/step") address2path( x = "https://my_website/Groups/mypath/step", address = "https://my_website/Groups", path = "/mnt/Groups" ) } } if (FALSE) { if(interactive()) path2address_sufix("/mnt/Groups/mypath/step") } if (FALSE) { if(interactive()) path2address("/mnt/Groups/mypath/step") } if (FALSE) { if(interactive()) path_tree("~/Documents", hide = TRUE) }