[R: New Features on mindr] v.1.2.0 released: universal function and directory tree
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: v.1.2.0 'mm()', 'tree()', 'pandoc'.
The new version 1.2.0 mainly brings four exciting features.
- Suggested by @yihui, an argument of 'method' was added to each main functions. Users can choose the method of regular expression or pandoc to pick out the outline of a markdown file.
- Suggested by the issue from the users, now mindr can save the mind map as an HTML widget file and share the mind map on web.
- A new function
tree()
can create a mind map from a directory on your computer. See the following image as a demo. - A universal function
mm()
can convert the file formats automatically according to the suffix of the input file. This is a big step of mindr, becausemm()
wraps (almost) all the previous features into one function. Users do not have to memorize other functions.
Thank you for your contribution @dapeng .
file name extension
notextention
return('NULLLL')
as well?dir2
,dir4
could be better namedYour contribution has been evaluated according to Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category.
To view those questions and the relevant answers related to your post, click here.
Need help? Chat with us on Discord.
[utopian-moderator]
Thank you for the helpful comments!
NULLLL
is deliberately misspelt for tracing (see the functioncount_space()
. Although I agree thatdir2
anddir4
could be better named, such names are quite popular in R community. For examples,read.csv2()
is a built-in function.Many thanks!
Thank you for your review, @justyy! Keep up the good work!
Hi @dapeng!
Your post was upvoted by @steem-ua, new Steem dApp, using UserAuthority for algorithmic post curation!
Your post is eligible for our upvote, thanks to our collaboration with @utopian-io!
Feel free to join our @steem-ua Discord server
Hey, @dapeng!
Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!
Get higher incentives and support Utopian.io!
Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via SteemPlus or Steeditor).
Want to chat? Join us on Discord https://discord.gg/h52nFrV.
Vote for Utopian Witness!