Learn R Programming

mindr (version 1.2.3)

dir4: Convert a folder structure into a mindmap (using the data.tree package for non-windows os).

Description

Convert a folder structure into a mindmap (using the data.tree package for non-windows os).

Usage

dir4(
  path = getwd(),
  savefile = TRUE,
  savefilename = "mindr.mm",
  output = c("mm", "txt", "md", "Rmd"),
  backup = TRUE,
  dir_files = FALSE
)

Arguments

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.

Value

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).