Learn R Programming

mindr (version 1.4.1)

Generate Mind Maps

Description

Convert Markdown ('.md') or R Markdown ('.Rmd') texts, R scripts, directory structures, and other hierarchical structured documents into mind map widgets or 'Freemind' codes or 'Mermaid' mind map codes, and vice versa. 'Freemind' mind map ('.mm') files can be opened by or imported to common mind map software such as 'Freemind' (). 'Mermaid' mind map codes () can be directly embedded in documents.

Copy Link

Version

Install

install.packages('mindr')

Monthly Downloads

106

Version

1.4.1

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Peng Zhao

Last Published

December 19th, 2025

Functions in mindr (1.4.1)

mm

All-in-one wrapper for the conversion between (R) Markdown, FreeMind mind map, Mermaid mind map, R code, directory structure, and HTML widget.
mm2md

Convert FreeMind mind map code into Markdown headings
md2r

Convert (R) Markdown-syntax text into R code
mm2r

Convert FreeMind mind map code into .R code
outline

Extract headings of (R) Markdown-syntax text as an outline
md2dir

Create hierarchical directories according to (R) Markdown-syntax text
markmapOption

Theme options for markmap creation
mmm

Convert almost any file into mind map.
rmvcode

Check whether a digital number is within a given range
r2mm

Convert R code into FreeMind mind map code
mdtxt2mmtxt

Convert Markdown text to FreeMind mind map text.
r2md

Convert R code into (R) Markdown-syntax text
list2heading

convert lists to headings in a text
outline_pdf

Extract the outline from pdf toc, and output as Markdown
markmap

Create a mind map in HTML widget
r2dir

Generate hierarchical directories according to the outline of R code
md2mm

Convert (R) Markdown-syntax text to FreeMind mind map code
md2mmd

Convert Markdown headings into a mermaid mindmap
get_eqloc

Get the index of equations in a string vector
dir2r

Convert a hierarchical directory into R code
dir2md

Display a directory hierarchical structure in Markdown syntax
get_mmdshape

Get the shape maker for mermaid mindmap
dir2mm

Display hierarchical structure of a directory in FreeMind mind map
guess_type

Guess the type of input or output
get_filename_ext

Get the file name extension
mm2dir

Generate hierarchical directories according to a FreeMind mind map
filterNULL

A function for markmap