Chapter 1 Prerequisites

This is the Photo convertible cell experiment notebook written in Markdown. You can use anything that Pandoc’s Markdown supports, e.g., a math equation \(a^2 + b^2 = c^2\).

The bookdown package can be installed from CRAN or Github:

install.packages("bookdown")
# or the development version
# devtools::install_github("rstudio/bookdown")

To compile to PDF, you need XeLaTeX. You are recommended to install TinyTeX (which includes XeLaTeX): https://yihui.org/tinytex/.

# automatically create a bib database for R packages
knitr::write_bib(c(
  .packages(), 'bookdown', 'knitr', 'rmarkdown'
), 'packages.bib')

Packages used in this project:

library(bookdown)
library(knitr)
library(rmarkdown)

Things I can`t find solutions to: 1. Shortcut key to auto-completion in R. Seems like it is option + Space, but it is system key for language change. A good tip here. 1. Cant find the svn file in MBP20 Rstudio for git/svn configuration.