-
Notifications
You must be signed in to change notification settings - Fork 36
/
lab1.Rmd
46 lines (26 loc) · 896 Bytes
/
lab1.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
---
title: "Journal 1"
#bibliography: references.bib
author: "Your Name"
---
```{r, globalsettings, echo=FALSE, warning=FALSE, results='hide'}
library(knitr)
knitr::opts_chunk$set(echo = TRUE)
opts_chunk$set(tidy.opts=list(width.cutoff=100),tidy=TRUE, warning = FALSE, message = FALSE,comment = "#>", cache=TRUE, class.source=c("test"), class.output=c("test2"))
options(width = 100)
rgl::setupKnitr()
colorize <- function(x, color) {sprintf("<span style='color: %s;'>%s</span>", color, x) }
```
```{r klippy, echo=FALSE, include=TRUE}
klippy::klippy(position = c('top', 'right'))
#klippy::klippy(color = 'darkred')
#klippy::klippy(tooltip_message = 'Click to copy', tooltip_success = 'Done')
```
Last compiled on `r format(Sys.time(), '%B, %Y')`
<br>
----
This is just an example page of your `r colorize("lab journal", "red")`.
----
```{r}
print("Hello Lab Journal")
```