powered by
Decomposes a path of a set of files (or dirs) in several parts:
ghdecompose(files, dirs = FALSE)
a data frame with five variables
character vector: path of files
logical: directory or files names (default: FALSE)
FALSE
outpath the path part which is common to all files (basically the place where the ZIP file was extracted)
outpath
inpath the path part which is not necessary for a unique address in teh ZIP file
inpath
minpath the minimal path part such that all files addressable in unique manner,
minpath
filename the basename of the file, and
filename
source the input to shortpath.
source
shortpath
ghget("dummy") pdf <- ghdecompose(ghlist(full.names=TRUE)) pdf
Run the code above in your browser using DataLab