By Peng Zhao | January 31, 2019
'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.
In my previous about 'rosr', I planned
- to add more choices of the sub-projects with demos to the arguments of the functions
- to make a GUI for creating or maintaining a project for code-haters.
Now these two tasks have been accomplished! And even more!
For Plan 1, individual functions for creating each sub-project as well as self-defined templates were created, shown in the following commits:
For Plan 2, a shiny app as well as a RStudio addin were created, shown in the following commits.
Now non-R users don't have to run any R codes after installation. Just click the 'Addins' button in RStudio and you can find "Create a rosr project".
Then a sheet will pop out, with all useful templates of journal manuscripts, posters, slides, books, dissertations and websites.
Click the elements you want, and click 'create'. You will get everything you like.
Furthermore, functions for reading and processing equations, for removing special characters, for installation of packages, as well as for collecting and displaying templates were added.
- add internal functions
- functions for processing maths expressions
- functions for installing packages and for displaying templates
Codes were improved by re-writing functions and adding comments.