class: center, middle, inverse, title-slide # Reproducible presentation slides with R Markdown ###
Dr. Priyanga D. Talagala
###
Research Lounge Meet, University of Moratuwa
###
18/10/2022
--- class: inverse, middle, center # Method 1: Presentation slides with R Markdown <img src="fig/rmarkdown.png" width="30%" style="display: block; margin: auto;" /> --- ### Method 1: Presentation slides with R Markdown <img src="fig/rmd1.png" width="50%" style="display: block; margin: auto;" /> --- ### Method 1: Presentation slides with R Markdown <img src="fig/rmd2.png" width="60%" style="display: block; margin: auto;" /> --- ### Method 1: Presentation slides with R Markdown <img src="fig/rmd3.png" width="100%" style="display: block; margin: auto;" /> --- ### Method 1: Presentation slides with R Markdown #### PDF output <img src="fig/rmd4.png" width="70%" style="display: block; margin: auto;" /> --- ### Method 1: Presentation slides with R Markdown #### HTML output <img src="fig/rmd5.png" width="80%" style="display: block; margin: auto;" /> --- ### Method 1: Presentation slides with R Markdown #### Powerpoint Presentation <img src="fig/rmd6.png" width="70%" style="display: block; margin: auto;" /> --- ### Method 1: Presentation slides with R Markdown <img src="fig/rmd7.png" width="90%" style="display: block; margin: auto;" /> --- class: inverse, middle, center # Method 2: Presentation slides with xaringan <img src="fig/xaringan.png" width="30%" style="display: block; margin: auto;" /> --- ## Method 2: Presentation slides with xaringan - The xaringan package is an R Markdown extension based on the JavaScript library remark.js (https://remarkjs.com) to generate HTML5 presentations of a different style. -- # Install the xaringan package from Github: `remotes::install_github("yihui/xaringan")` --- ## Method 2: Presentation slides with xaringan - Create a new R Markdown document from the menu File -> New File -> R Markdown <img src="fig/xaringan1.png" width="40%" style="display: block; margin: auto;" /> --- ## Method 2: Presentation slides with xaringan From Template -> Ninja Presentation <img src="fig/xaringan2.png" width="50%" style="display: block; margin: auto;" /> --- ## Method 2: Presentation slides with xaringan Click the Knit button to compile it. <img src="fig/xaringan3.png" width="80%" style="display: block; margin: auto;" /> --- ## Resources - [GitHub - xaringan https://github.com/yihui/xaringan](https://github.com/yihui/xaringan) - [The full documentation as a presentation https://slides.yihui.org/xaringan/#1](https://slides.yihui.org/xaringan/#1) --- class: inverse, middle, center
pridiltal and thiyangt # Acknowledgements: This work was supported in part by RETINA research lab funded by the OWSD, a program unit of United Nations Educational, Scientific and Cultural Organization (UNESCO). All rights reserved by Thiyanga S. Talagala and Priyanga D Talagala