我想在我的块中插入 复制到剪贴板 图标,而不是复杂的描述,只需查看图像,这是 R Markdown Cookbook第 3.1 章的屏幕截图。
我的代码(缺少代码行来获取如图所示的图标和工具提示):
---
title: "First R Markdown Document"
author: "My name"
date: "Last edited: `r format(Sys.time(), '%d.%m.%Y')`"
output: html_document
---
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents.
You can embed an R code chunk like this:
```{r, echo=TRUE}
summary(cars)
```
You can also embed plots, for example:
```{r, echo=TRUE}
plot(cars)
```
我发现的只是使用包 klippy - 但这是另一种方法(或?!)。
提前非常感谢!
output: bookdown::gitbook
(或本机四开):
---
title: "First R Markdown Document"
author: "My name"
date: "Last edited: `r format(Sys.time(), '%d.%m.%Y')`"
output: bookdown::gitbook
---
This is an R Markdown document. Markdown is a simple formatting syntax for authoring HTML, PDF, and MS Word documents.
You can embed an R code chunk like this:
```{r, echo=TRUE}
summary(cars)
```
You can also embed plots, for example:
```{r, echo=TRUE}
plot(cars)
```