[New R Package] rmd: Easily Install, Load and Explore the R Markdown Family

in #utopian-io6 years ago (edited)

Repo

<p dir="auto"><span><a href="https://github.com/pzhaonet/rmd" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/pzhaonet/rmd <h4>What is the project about? <p dir="auto">Since 'rmarkdown' and 'knitr', more and more members (rticles, bookdown, mindr...) have been joining the R Markdown family. Users can write elegant reproducible documents, manuscripts, dissertations, books, blog posts, posters, and slides within the framework of R markdown. It is exciting, while the installation and maintenance becomes annoying. In the meanwhile, there are plenty of useful RStudio addins, which equip the RStudio IDE as a powerful markdown editor. However, these little tools are often hidden somewhere deep in the community, and it is difficult to dig them out. <p dir="auto">With 'rmd' you can easily explore, install, and load them for both R users and non-users. Furthermore, 'rmd' provides a RStudio addin to explore the R Markdown family and install them with a single click. <p dir="auto">Forget R, and enjoy the wonderful world of R Markdown. <h3>What are the current features? <ul> <li><p dir="auto">Load multiple functions with one command <p dir="auto">When 'rmd' is loaded, multiple useful markdown packages are loaded. Uses can directly write all kinds of documents with them. <pre><code>require('rmd') >> Loading required package: rmd >> -- Attaching packages --------------------------------------------- rmd 0.1.3 -- >> √ rmarkdown 1.11.2 √ tinytex 0.9 >> √ knitr 1.21 √ xaringan 0.8 >> √ bookdown 0.9 √ citr 0.2.0 >> √ blogdown 0.10 √ mindr 1.1.10 >> √ rticles 0.6 √ bookdownplus 1.5.4 <ul> <li><p dir="auto">'rmd' provides four main functions currently. <ul> <li><p dir="auto">rmd_conflicts(): check the conflicts of the functions in 'rmd' and other loaded packages. <li><p dir="auto">rmd_deps(): list all the 'rmd' dependencies. <li><p dir="auto">rmd_packages(): list all packages in 'rmd'. <li><p dir="auto">rmd_update(): check to see if all rmd packages (and optionally, their dependencies) are up-to-date, and will install after an interactive confirmation. <li><p dir="auto">'rmd' provides an RStudio addin. Click the 'Addins' button on the tool bar and find 'R Markdown Family' under 'RMD'. A table of suggested R markdown packages will pop out. A package in a green row has already been installed. Click a row to install or remove the package. <p dir="auto"><img src="https://images.hive.blog/768x0/https://raw.githubusercontent.com/pzhaonet/rmd/master/inst/media/rmd-addin.jpg" srcset="https://images.hive.blog/768x0/https://raw.githubusercontent.com/pzhaonet/rmd/master/inst/media/rmd-addin.jpg 1x, https://images.hive.blog/1536x0/https://raw.githubusercontent.com/pzhaonet/rmd/master/inst/media/rmd-addin.jpg 2x" /> <p dir="auto"><img src="https://images.hive.blog/768x0/https://raw.githubusercontent.com/pzhaonet/rmd/master/inst/media/rmd-addin-window.jpg" srcset="https://images.hive.blog/768x0/https://raw.githubusercontent.com/pzhaonet/rmd/master/inst/media/rmd-addin-window.jpg 1x, https://images.hive.blog/1536x0/https://raw.githubusercontent.com/pzhaonet/rmd/master/inst/media/rmd-addin-window.jpg 2x" /> <h3>List of R markdown family members <p dir="auto">The R markdown family members in the 'rmd' addin can be found <a href="https://github.com/pzhaonet/rmd#list-of-r-markdown-family-members" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">on GitHub. If you made a useful package for the R markdown family, feel free to make a pull request and add it to the list. <div class="table-responsive"><table> <thead> <tr><th>Package<th>Date Added<th>Description<th>On CRAN?<th>Author<th>More links<th>Notes <tbody> <tr><td><a href="https://github.com/mwip/beautifyR" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">beautifyR<td>2019-01-26<td>RStudio addin for formatting Rmarkdown tables<td>:x:<td><a href="https://github.com/mwip/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Matthias Weigand<td><a href="https://github.com/mwip/beautifyR#beautifyr-in-action" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Demo GIF<td> <tr><td><a href="https://github.com/rstudio/blogdown" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">blogdown<td>2019-01-26<td>Create Blogs and Websites with R Markdown<td>:white_check_mark:<td><a href="https://github.com/rstudio" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Yihui Xie et al.<td><a href="https://bookdown.org/yihui/blogdown/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Doc<td> <tr><td><a href="https://github.com/rstudio/bookdown" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">bookdown<td>2019-01-26<td>Authoring Books and Technical Documents with R Markdown<td>:white_check_mark:<td><a href="https://github.com/rstudio" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Yihui Xie et al.<td><a href="https://bookdown.org/yihui/bookdown/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Doc<td> <tr><td><a href="https://github.com/pzhaonet/bookdownplus" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">bookdownplus<td>2019-01-26<td>The shortcut to the R package bookdown for writing varied types of books and documents<td>:white_check_mark:<td><a href="https://github.com/pzhaonet" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Peng Zhao<td><a href="https://bookdownplus.netlify.com" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Gallery<td> <tr><td><a href="https://github.com/strboul/caseconverter" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">caseconverter<td>2019-01-26<td>Convert text cases to lower, upper, snake, camel cases<td>:x:<td><a href="https://github.com/strboul" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">strboul<td><a href="https://raw.githubusercontent.com/strboul/caseconverter/master/inst/media/caseconverter.gif" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Demo GIF<td> <tr><td><a href="https://github.com/crsh/citr" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">citr<td>2019-01-26<td>Search a BibTeX-file and insert formatted Markdown citations<td>:white_check_mark:<td><a href="https://github.com/crsh/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Frederik Aust<td><a href="https://raw.githubusercontent.com/crsh/citr/master/tools/images/addin_demo.gif" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Demo gif<td> <tr><td><a href="https://github.com/bbucior" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">drposter<td>2019-01-26<td>Generate Academic Posters in R Markdown and CSS, inspired by 'reveal.js'<td>:x:<td><a href="https://github.com/bbucior" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Ben Bucior<td><a href="https://github.com/bbucior/drposter/blob/master/inst/example/poster.pdf" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Demo pdf<td> <tr><td><a href="https://github.com/LudvigOlsen/insertImage" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">insertImage<td>2019-01-26<td>Insert image into R Markdown with file chooser. Copy image file to project.<td>:x:<td><a href="http://ludvigolsen.dk/?lang=en" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Ludvig R Olsen<td><td> <tr><td><a href="https://github.com/lbusett/insert_table" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">inserttable<td>2019-01-26<td>RStudio add-in facilitating insertion of nicely formatted tables in R markdown documents or plain R scripts.<td>:x:<td><a href="https://github.com/lbusett/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Lorenzo Busetto<td><a href="https://lbusett.netlify.com/post/a-new-rstudio-addin-to-facilitate-inserting-tables-in-rmarkdown-documents/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Blog Post<td> <tr><td><a href="https://github.com/yihui/knitr" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">knitr<td>2019-01-26<td>A general-purpose tool for dynamic report generation in R<td>:white_check_mark:<td><a href="https://github.com/yihui" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Yihui Xie et al.<td><a href="https://yihui.name/knitr/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Blog Post<td> <tr><td><a href="https://github.com/pzhaonet/mindr" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">mindr<td>2019-01-26<td>Convert markdown files (.md, .Rmd) into mindmaps (brainstorms)<td>:white_check_mark:<td><a href="https://github.com/pzhaonet" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Peng Zhao<td><a href="https://www.pzhao.org/slides/mindr" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Slides<td> <tr><td><a href="https://github.com/rstudio/pagedown" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">pagedown<td>2019-01-26<td>Paginate the HTML Output of R Markdown with CSS for Print<td>:white_check_mark:<td><a href="https://github.com/rstudio" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Yihui Xie et al.<td><a href="https://pagedown.rbind.io/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Doc<td> <tr><td><a href="https://github.com/gadenbuie/regexplain" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">regexplain<td>2019-01-26<td>Interactive regular expression utility belt<td>:x:<td><a href="https://www.garrickadenbuie.com" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Garrick Aden-Buie<td><a href="https://github.com/gadenbuie/regexplain/#overview" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Demo gifs<td> <tr><td><a href="https://github.com/ThinkR-open/remedy" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">remedy<td>2019-01-26<td>RStudio Addins to Simplify Markdown Writing<td>:x:<td><a href="https://thinkr.fr/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">ThinkR<td><a href="https://github.com/ThinkR-open/remedy/blob/master/README.md" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">How it works<td> <tr><td><a href="https://github.com/rstudio/rmarkdown" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">rmarkdown<td>2019-01-26<td>Dynamic Documents for R<td>:white_check_mark:<td><a href="https://github.com/rstudio" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">JJ Allaire et al.<td><a href="https://rmarkdown.rstudio.com/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Website<td> <tr><td><a href="https://github.com/pzhaonet/rmd" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">rmd<td>2019-01-26<td>Easily Installs and Loads the R Markdown Family<td>:white_check_mark:<td><a href="https://github.com/pzhaonet" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Peng Zhao<td><td> <tr><td><a href="https://github.com/pzhaonet/rosr" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">rosr<td>2019-01-26<td>Create academic R markdown projects for open science and reproducible research<td>:x:<td><a href="https://github.com/pzhaonet" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Peng Zhao<td><td> <tr><td><a href="https://github.com/jeffjjohnston/RStudioConsoleRender" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">RStudioConsoleRender<td>2019-01-26<td>Render an R Markdown document in the global environment<td>:x:<td><a href="https://github.com/jeffjjohnston" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Jeff Johnston<td><a href="https://jeffjjohnston.github.io/rstudio/rmarkdown/2016/03/01/faster-rendering-in-rstudio.html" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Blog post<td> <tr><td><a href="https://github.com/rstudio/rticles" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">rticles<td>2019-01-26<td>LaTeX Journal Article Templates for R Markdown<td>:white_check_mark:<td><a href="https://github.com/rstudio" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">JJ Allaire et al.<td><td> <tr><td><a href="https://github.com/LudvigOlsen/splitChunk" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">splitChunk<td>2019-01-26<td>Split code chunk in R Markdown<td>:x:<td><a href="http://ludvigolsen.dk/?lang=en" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Ludvig R Olsen<td><td> <tr><td><a href="https://github.com/lorenzwalthert/strcode" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">strcode<td>2019-01-26<td>Insert code block separators and section titles<td>:x:<td><a href="http://lorenzwalthert.github.io/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Lorenz Walthert<td><a href="https://raw.githubusercontent.com/lorenzwalthert/strcode/master/demos/strcode_v0.2.0_video_to_gif2_large.gif" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Demo GIF<td> <tr><td><a href="https://github.com/yihui/tinytex" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">tinytex<td>2019-01-26<td>A lightweight, cross-platform, portable, and easy-to-maintain LaTeX distribution based on TeX Live<td>:white_check_mark:<td><a href="https://github.com/yihui" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Yihui Xie et al.<td><a href="https://yihui.name/tinytex/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Blog post<td> <tr><td><a href="https://github.com/mvkorpel/uniscape" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">uniscape<td>2019-01-26<td>Convert non-ASCII strings to a portable format<td>:x:<td><a href="https://github.com/mvkorpel" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Mikko Korpela<td><a href="https://raw.githubusercontent.com/mvkorpel/uniscape/master/media/escape_strings.png" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Screenshot<td> <tr><td><a href="https://github.com/nevrome/wellspell.addin" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">wellspell.addin<td>2019-01-26<td>Quick spellcheck with hunspell<td>:x:<td><a href="https://github.com/nevrome" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Clemens Schmid<td><td> <tr><td><a href="https://github.com/benmarwick/wordcountaddin" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">wordcountaddin<td>2019-01-26<td>Count non-code words in Rmd documents<td>:x:<td><a href="https://github.com/benmarwick" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Ben Marwick<td><a href="https://github.com/benmarwick/wordcountaddin/raw/master/inst/wordcountaddin.gif" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Screenshot<td> <tr><td><a href="https://github.com/tjmahr/WrapRmd" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">WrapRmd<td>2019-01-26<td>Wrap selected R Markdown text but don't insert lines breaks into inline R code<td>:x:<td><a href="http://tjmahr.com/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">TJ Mahr<td><td> <tr><td><a href="https://github.com/yihui/xaringan" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">xaringan<td>2019-01-26<td>Create HTML5 slides with R Markdown and the JavaScript library 'remark.js'<td>:white_check_mark:<td><a href="https://github.com/yihui" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Yihui Xie et al.<td><a href="https://slides.yihui.name/xaringan" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Slides<td> <h4>Technology Stack <p dir="auto">'rmd' is developed in R language. <h4>Roadmap <p dir="auto">The main structure of 'rmd' is more or less done. In the future, two things will be maintained. <ol> <li>Keep an eye on useful R markdown packages and add the new ones into the R markdown family. <li>Collect nice tools and maintain the addin list. <h4>How to contribute? <p dir="auto"><span>Anyone can get in touch with me by leaving me a reply on steem <a href="/@dapeng">@dapeng or on <a href="https://github.com/pzhaonet/rmd" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">https://github.com/pzhaonet/rmd.
Sort:  

Thank you for your contribution @dapeng! It is nice to see you are back to @utopian-io !

<ol> <li>R folder could be better renamed to <code>src. <li>The <code>zzz.R could be better renamed. <li>It could be useful to have a few comments on top of each R saying what the R module does. <li>A few more examples on how to use the package would be nice. <p dir="auto">Your contribution has been evaluated according to <a href="https://join.utopian.io/guidelines" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Utopian policies and guidelines, as well as a predefined set of questions pertaining to the category. <p dir="auto">To view those questions and the relevant answers related to your post, <a href="https://review.utopian.io/result/3/2-2-2-2-2-2-1-" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">click here. <hr /> <p dir="auto">Need help? Chat with us on <a href="https://discord.gg/uTyJkNm" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">Discord. <p dir="auto"><a href="https://join.utopian.io/" target="_blank" rel="noreferrer noopener" title="This link will take you away from hive.blog" class="external_link">[utopian-moderator]

Thank you @justyy for your comments! Yeah, it is great to come back! Let me explain a little bit.

<ol> <li>As an R package, the R codes must be put in a folder named 'R'. Otherwise, the package cannot be compiled or accepted by CRAN, as far as I know. <li>Yes, <code>zzz.Rneeds a better name. <li>Yes, a better documentation will be available in the future. I did it too soon. <li>I agree. I will write a tutorial later. <p dir="auto">Happy New year.

Thank you for your review, @justyy! Keep up the good work!

Hi @dapeng!



Feel free to join our @steem-ua Discord serverYour 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!

Hey, @dapeng!

Thanks for contributing on Utopian.
We’re already looking forward to your next contribution!

Get higher incentives and support Utopian.io!
SteemPlus or Steeditor). Simply set @utopian.pay as a 5% (or higher) payout beneficiary on your contribution post (via

Want to chat? Join us on Discord https://discord.gg/h52nFrV.

Vote for Utopian Witness!