dapeng avatar

[R: New Features on mindr] Support LaTeX Equations. Conversion between .R scripts and .Rmd documents

dapeng

Published: 26 Oct 2018 › Updated: 26 Oct 2018[R: New Features on mindr] Support LaTeX Equations. Conversion between .R scripts and .Rmd documents

[R: New Features on mindr] Support LaTeX Equations. Conversion between .R scripts and .Rmd documents

Repo

https://github.com/pzhaonet/mindr

Brief Intro and curriculum

'mindr' is an R package that can convert a markdown file or multiple markdown files, such as steem posts, into one mindmap. mindr can also convert a mindmap into a markdown file, which can be a good start of your post. A brief introduction can be found in one of my previous posts:

New Features

The new version 1.1.7 brings more exciting features.

mindr2.png

Figure 1. A mind map with LaTeX equations converted by mindr from a markdown file

  • Convert .R scripts into R markdown (.Rmd) or markdown (.md) documents, and vice versa, so that users can convert .R scripts into mind maps by using mindr.

    I added two functions to convert the following elements in .R scripts into R markdown documents.

    • code (.R) ---> code block (.Rmd, .md)
    • comments beginning with # ---> text body (.Rmd, .md)
    • comments beginning with markdown headings ---> headings (.Rmd, .md)

    Commit: new features: conversion between .R and .md/.Rmd

mindr1.jpg

Figure 2. Conversion between a .R script and a .Rmd file

GitHub Account

https://github.com/pzhaonet

Leave [R: New Features on mindr] Support LaTeX Equations. Conversion between .R scripts and .Rmd documents to:

Written by

悄然拂袖去 ,不携一片云。

Read more #utopian-io posts


Best Posts From dapeng

We have not curated any of dapeng's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From dapeng