path_link {path.chain} | R Documentation |
It returns basic package's object: an object representing a link in the chain. Each link has the path_chain class - it can represents a one-element path chain
path_link(node = NULL, children = NULL)
node |
Current node name; character |
children |
list of children - path_chains |
path_chain object
# If we want to create our chain manually, we have start from the leaves
level2.b <- path_link("fileA.RData")
level2.a <- path_link("fileB.RData")
level1 <- path_link("data", list(level2.a = level2.a , level2.b = level2.b))
root <- path_link("files", list(level1))
# Print root path
root$.
# Print file path using chaining
root$data$level2.a