Install:
if (!requireNamespace("devtools")) install.packages("devtools")
devtools::install_github("mdozmorov/MDtemplate")
Use: In your RStudio session, select "File / New file / R Markdown / From Template ".
A template with Rmd header and footer
A template with YAML header containing BibTex bibliography, reference formatting, and Word output template. Includes basic grant structure, and an R code for timeline Gantt chart.
Track/commit only text files (R, md, Rmd, txt, csv)! Do not commit large binary files (docx, xlsx, pptx, etc.) into GitHub repository. Every time such a file change, it changes completely and gets committed as such. This will grow your GitHub repository very fast. If needed, clean the repository using https://rtyley.github.io/bfg-repo-cleaner/
As you add files, describe them in the README.md
. Add brief description of each file.
Savage, Van, and Pamela Yeh. “Tips from a Pulitzer Prizewinner,” - Tips for writing scientific papers: minimalism = clarity, make 2-3-points home message, one paragraph = one message, use short sentences, use fast-paced narrative, avoid over-elaboration, use commas and dashes appropriately, more.
The Modern Language Association (MLA) citation and format style and other General Writing Resources from Purdue University
Creating and publishing a scientific masterpiece - JCI Editor at Large Ushma S. Neill provides updated advice on generating a scientific manuscript with maximum impact. 40min
A template for a Xaringan HTML presentation. Examples of columns, image/video embedding, panels, footnotes, other tweaks using XaringanExtra. Presentation example.
Xaringan by Yihui Xie is a great package to make good looking and portable presentations.
presentation.Rmd contains YAML settings and basic examples reminding how to insert an image, make two-column slide etc. Example.
Learn more about xaringan Presentations. This example is not meant to be comprehensive.
xaringan-my.css contains .large[]
, .small[]
, and .tiny[]
formatting styles. xaringan-themer.css
is created by xaringanthemer in the corresponding chunk in presentation.Rmd.
xaringanExtra by Garrick Aden-Buie makes the presentations even more flexible.
xaringanBuilder - An R package for building xaringan slides into multiple outputs, including html, pdf, png, gif, pptx, and mp4.
A template for a PDF presentation using Beamer formatting (theme, color). Examples of slide formatting are at https://github.com/mdozmorov/beamer_template/blob/master/presentation.pdf
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.