Convert a folder structure into a mindmap (using the data.tree package for non-windows os).
dir4(
path = getwd(),
savefile = TRUE,
savefilename = "mindr.mm",
output = c("mm", "txt", "md", "Rmd"),
backup = TRUE,
dir_files = FALSE
)
character. the path of the folder.
logical. Whether to save the output as a file.
character. Valid when savefile == TRUE.
a file with the folder structure.
logical. Whether the existing target file, if any, should be saved as backup.
logical. Whether to display files besides folders.
a mindmap file, which can be viewed by common mindmap software, such as 'FreeMind' (http://freemind.sourceforge.net/wiki/index.php/Main_Page) and 'XMind' (http://www.xmind.net).