Introduction to sciRmdTheme: An R package for Styling Scientific Rmarkdown Documents"

knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>"
)
sciRmdTheme::set.theme(
  theme = "default",
  color = "purple",
  header.sticky=TRUE,
  header.image="https://coursewhiz.org/mainsite/logo.png",
  list.group.icon = "arrow",
  font.family = "Arial",
  font.color = "#333",
  header.color = "blue"
  )

The use of R Markdown and R Notebook for documenting processes, experiments and for writing reports has continued to grow in the last 5+ years. This is exciting, as more and more companies are also starting to adapt it for bookkeeping purposes. However, the available R markdown templates are not well-suited for professional reports and displays. Therefore, the purpose of the sciRmdTheme package is to provide more tools to help data analytists, scientists and writers in drafting professional R markdown pages.

Installation and Library Attachment

The sciRmdTheme package is available on CRAN and can be installed as shown below

install.packages(sciRmdTheme)

Attach library

library(sciRmdTheme)

Use

The sciRmdTheme can be used within the R Markdown document using an R chunk as shown below

sciRmdTheme::set.theme()

or by using the available options. An example of how the available options can be used is show below

sciRmdTheme::set.theme(
  theme = "default",
  color = "purple",
  header.sticky=TRUE,
  header.image="https://coursewhiz.org/mainsite/logo.png",
  list.group.icon = "arrow",
  font.family = "Arial",
  font.color = "#333",
  header.color = "blue"
  )

Features

Examples and Demo Pages

View examples and demo pages at https://github.com/oobianom/sciRmdTheme View other pages created by me at https://coursewhiz.org



Try the sciRmdTheme package in your browser

Any scripts or data that you put into this service are public.

sciRmdTheme documentation built on June 30, 2022, 9:05 a.m.