flex.poster

Overview

Modified version of the postr package from Oscar de Leon with changes from Luke Johnston. Also big thanks to the tutial here by Wei Yan Tham. This package consists of some minor updates and incorporating some functionality I liked from posterdown, which is another good option for poster templates in Rmarkdown. Full disclosure: I have no idea what I'm doing.*

This package provides templates and helper functions to prepare R Markdown based conference posters with a free and reproducible workflow and produce output both in html for hosting and png for printing. Relies on the flexdashboard package to easily define poster layout.

But really, making a poster with flexdashboard is as relative straightforward: write the rmarkdown text, check the size formatting, capture the screenshot. Maybe you open the image and save as PDF somewhere else. More time spent on writing good content, less time fussing with the padding between text boxes on powerpoint. I did this to save time for my future self. I will undoubtedly save lots of time.

*If this package works for you, you should probably just clone it and save it as your own. Who knows how I'll screw this up in the future.

Relevant xkcd

source: https://imgs.xkcd.com/comics/automation.png

Dependencies

This poster template depends on the following R packages

Preparing a new poster

In order to use this poster template, you need to:

  1. Install from github devtools::install_github("rbcavanaugh/flex.poster")

  2. Create a new R Markdown document in Rstudio based on the poster template, or run rmarkdown::draft("my_poster.Rmd", template = "poster", package = "flex.poster")

    • The title, author, and affiliations in the YAML header will correspond to the title, authors, and affiliations helper functions. They can also be direct accessed through rmarkdown::metadata
  3. Render the poster as an html file: rmarkdown::render("my_poster.Rmd") (or just hit knit in rstudio). set render_print: to false until you're ready to make the poster.

  4. Convert the html file as a printable image:

    flex.poster::render_poster_image("my_poster.html"). File conversion is done by taking a screenshot of the rendered HTML doc.

note this update does not use webshot/phantonJs, but uses webshot2 which does not require phantonJs but does require chrome to be installed in your computer. see https://github.com/rstudio/webshot2

Example

{style="width:80%;"}

A new poster! Not quite done yet...

Tips

References



rbcavanaugh/flex.poster documentation built on Aug. 2, 2022, 12:54 p.m.