[R: New Features on mindr] New strategy of writing R comments. Conversion between .R scripts and .mm mind maps
Repo
https://github.com/pzhaonet/mindr
Brief Intro and curriculum
'mindr' is an R package that can convert files between (R)markdown, R scripts, and mind maps. A brief introduction can be found in one of my previous posts:
[New Project] mindr: an R package that creates a markdown post out of a mind map
[New Features on mindr] Support LaTeX Equations. Conversion between .R scripts and .Rmd documents
New Features
Commit: convertion between .Rmd, .R. and .mm
The new version 1.1.8 mainly brings two exciting features.
yihui suggested that comments .R scripts can be written in a predefined strategy, which is very friendly. I improved this strategy with some modification, and added a new pair of functions, i.e.
mindr::r2rmd()andmind::rmd2r(), which convert a file between .R script and .Rmd document smoothly. An example .R script is given here.jiaming suggested that it would be perfect if the cycle of mindr can be complete. Hence, I added another new pair of functions, i.e.
mindr::r2mm()andmindr::mm2r(), which convert a file between .R script and .mm mind maps.The complete cycle is illustrated in the following figure. Note that the dashed lines mean that it converts only the outline of the file.
GitHub Account
Leave [R: New Features on mindr] New strategy of writing R comments. Conversion between .R scripts and .mm mind maps to:
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
- 老年人技术故障重复发帖
- 卷铺盖走人
- 无题
- Tutorial for pinyin: Installation and Quick Start
- 声律启蒙第一周
- 《Steem 指南》快讯:域名 steemh.org 停用
- [New R Package] sinx: R fortunes in Chinese
- [New features on R rosr] A shiny GUI and RStudio addin for choosing and creating sub-projects
- 68
- [New R Package] rosr: Create academic R markdown projects for open science and reproducible research
- [R: New Features on beginr] Automatically generate a self-contained package
- [R: New Features on mindr] v.1.2.0 released: universal function and directory tree
- [New R Package] rmd: Easily Install, Load and Explore the R Markdown Family
- 辞赋悬日月,台榭空山丘
- 将幻灯忍者 xaringan 幻灯片发布到网上的方法
- [R: New Features on mindr] New strategy of writing R comments. Conversion between .R scripts and .mm mind maps
- 用 markdown 的逻辑写 R 脚本注释(2)
- 金庸早已远逝,我辈江湖犹存
- 用 markdown 的逻辑写 R 脚本注释
- [R: New Features on mindr] Support LaTeX Equations. Conversion between .R scripts and .Rmd documents