Learn R Programming

⚠️There's a newer version (1.3.2) of this package.Take me there.

mindr (version 1.2.3)

Convert Files Between Markdown or R Markdown Files and Mind Maps

Description

Convert Markdown ('.md') or R markdown ('.Rmd') files into mind map widgets or files ('.mm'), and vice versa. "FreeMind" mind map ('.mm') files can be opened by or imported to common mindmap software such as 'FreeMind' () and 'XMind' ().

Copy Link

Version

Install

install.packages('mindr')

Monthly Downloads

125

Version

1.2.3

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Peng Zhao

Last Published

February 29th, 2020

Functions in mindr (1.2.3)

mdtxt2mmtxt

Convert markdown text to mindmap text.
r2rmd

Convert .R scripts into a .Rmd file
markmapOutput

Shiny bindings for markmap
r2mm

Convert .R scripts into a .mm file
markmap

Create a markmap widget
r2md

Convert .R scripts into a .md/.Rmd file
tree

Draw a mindmap of a directory
outline

Extract headers of markdown or rmarkdown files as an outline.
markmapOption

Options for markmap creation
mm2md

Convert a mind map (.mm) into markdown headers.
get_body

get the body out of given strings
mm2r

Convert .mm into a .R script
md2mm

Convert markdown or rmarkdown files to mindmap files.
rmd2r

Convert .md or .Rmd files into a .R script
rmvcode

check whether a digital number is within a given range
md2r

Convert .md or .Rmd files into a .R script
writeLines2

Write txt files avoiding overwriting existent files.
mm

Convert between .R, .Rmd, .mm according to the given file names, and create a markmap widget
tree2mm

Convert a directory tree to a mindmap file.
rename2

Rename a file automatically with a time stamp
renderMarkmap

Shiny bindings for markmap
get_filename_ext

#' Get the folder name of a given complete path #' #' @param path The complete path #' #' @return The folder name #' get_foldername <- function(path) foldername <- strsplit(path, '[/\]')[[1]] return(foldername[length(foldername)]) get the file name extension [/\]: R:/%5C%5C%5C [1]: R:1 [length(foldername)]: R:length(foldername)
get_eqloc

Get the index of equations in a string vector
dir4

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

get the headings out of given strings
get_heading2

get the headings out of given strings
count_space

Count the spaces between two given strings
dir2

Convert a folder structure into a mindmap by using the 'tree' command.
list2heading

convert list to heading
get_heading3

get the headings out of given strings