Convert a folder structure into a mindmap by using the 'tree' command.
dir2(path = getwd(), savefile = TRUE, savefilename = "mindr.mm", output = c("mm", "txt", "md", "Rmd"), backup = TRUE, dir_files = FALSE)
path | character. the path of the folder. |
---|---|
savefile | logical. Whether to save the output as a file. |
savefilename | character. Valid when savefile == TRUE. |
output | a file with the folder structure. |
backup | logical. Whether the existing target file, if any, should be saved as backup. |
dir_files | 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).