rosr News: a Shiny GUI and RStudio addin for choosing and creating sub-projects

Brief Intro and curriculum ‘rosr’ is an R package for creating reproducible academic project with integrated various academic elements, including data, bibliography, codes, images, manuscripts, dissertations, slides and so on. These elements are well connected so that they can be easily synchronized and updated. Users don’t have to repeat copying and pasting their results and figures from time to time. It will be easy for the scientific researchers to use, even if they are R beginners, or even non-R-users.

rosr: Create academic R markdown projects for open science and reproducible research

What is the project about? Weeks ago, I gave a short training course at one of the top institutes in the world. The course was called ‘R, Open Science and Reproducible Research’, abbreviated as ROSS. It was given to the academic researchers who were interested in R and reproducible research. The R markdown family, including ‘rticles’, ‘bookdown’, ‘xaringan’ etc., were introduced. The audience were excited in the course. They felt, however, confused after the course by using these packages on their own work.

[New Features on beginr] Automatically generate a self-contained package

Most R beginners think that developing an R package is a mission impossible. It is not true. With the new function packr() , users can create a user-defined useful R packages easily. They can specify in packr()a group of packages (e.g. foo_1, foo_2, foo_x) which they often use and the new package name, say foobar, then a new package called foobar will be generated. When loading the foobar function, the package group, i.

mindr v.1.2.0 released: universal function and directory tree

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.

rmd: Easily Install, Load and Explore the R Markdown Family

Introduction 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.

[R: New Features on mindr] New strategy of writing R comments. Conversion between .R scripts and .mm mind maps

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() and mind::rmd2r(), which convert a file between .R script and .Rmd document smoothly. An example .R script is given here.

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

New Features The new version 1.1.7 brings more exciting features. Keep the LaTeX equations when converting markdown files into mindmaps, as a reply to specter119’s comment. I used some regular expressions to extract the LaTeX codes from the markdown files, and changed them into extended mindmap syntax supported by Docear. Commit: keep LaTeX equations; re-organize the codes Figure 1. A mind map with LaTeX equations converted by mindr from a markdown file

[R pinyin: New Features] User customized dictionaries

New Features What features did I add? The pinyin package intended to convert Chinese characters into pinyin. However, more demands were called by users. That was why the features of converting to four-corner codes and five-stroke codes (version 98) were added. After my previous update, the utopian moderator @justyy kindly suggested adding the Five-Stroke-86 as well. I totally agree, and I think there could be more. The pinyin package now has two new features:

[R: New Features on pinyin] Convert Chinese Characters into Sijiao and Wubi codes

New Features What features did I add? Four times faster for converting. At the beginning of the year 2018 I received an issue report by psychelzh about a polyphone error. Now a new pinyin library has been added, which more or less solved the polyphone problem. Convert Chinese characters into Sijiao codes (literally four corner code). and Wubi codes (literally five-stroke). Some minor bugs were fixed. Figure 1: Test the new features in RStudio IDE

[R: New Features on mindr] Supports the new format of FreeMind. Displays mind maps directly. Supports bookdown projects.

New Features In the recent months, I have received many kind feedbacks and helpful suggestions from mindr users. I did not improve or enhance mindr until the latest week. Now the new version 1.1.5 brings more exciting features. Create mind maps out of a directory. I added a new function dir2() to create a mind map out of a directory in the user’s computer. Commit: compitable with both the old and new versions of mindmaps.