我有一个由Rmarkdown保存在html中的第1页,我想要链接到Rmarkdown制作的第二页html。如何在Rmarkdown中做到这一点?
page1.rmd:
---
title: "page1"
author: "ww"
date: "25 lutego 2017"
output: html_document
---
###working directory
My rmarkdown files are saved here: `r getwd()`
The list of saved files in working directory:
```{r echo=T}
as.list(list.files(getwd()))
```
##checking the link to the next page
[LINK to another html file]("C:/R/rmarkdown/page2.html")
page2.rmd:
---
title: "page2"
author: "ww"
date: "25 lutego 2017"
output: html_document
---
#tytuł
this is the second document
it works!!! :)
不幸的是它不起作用:( 这些文件位于同一目录C / R / rmarkdown