-
Notifications
You must be signed in to change notification settings - Fork 2
/
.Rhistory
41 lines (41 loc) · 1.52 KB
/
.Rhistory
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
bookdown::gitbook
update.packages("bookdown")
update.packages("rmarkdown")
# 下载 custom-environment.lua 文件
download.file("https://github.com/rstudio/bookdown/blob/master/inst/rmarkdown/lua/custom-environment.lua",
"custom-environment.lua", mode = "wb")
# 将下载的文件移动到相应目录(注意替换路径)
file.copy("custom-environment.lua", "C:/Users/zywan/AppData/Local/R/win-library/4.2/bookdown/rmarkdown/lua/custom-environment.lua", overwrite = TRUE)
download.file("https://raw.githubusercontent.com/rstudio/bookdown/master/inst/rmarkdown/lua/custom-environment.lua",
destfile = file.path(.libPaths()[1], "bookdown", "rmarkdown", "lua", "custom-environment.lua"),
mode = "wb")
install.packages("bookdown")
install.packages("rmarkdown")
install.packages("rmarkdown")
install.packages("rmarkdown")
install.packages("rmarkdown")
install.packages("rmarkdown")
remove.packages("bookdown")
remove.packages("rmarkdown")
install.packages("bookdown")
remove.packages("bookdown")
remove.packages("rmarkdown")
install.packages("bookdown")
install.packages("rmarkdown")
install.packages("rmarkdown")
update.packages('rmarkdown')
library('rmarkdown')
?rmarkdown
remove.packages('rmarkdown')
remove.packages('rmarkdown-package')
install.packages('rmarkdown')
install.packages("rmarkdown")
install.packages('rmarkdown')
install.packages('rmarkdown')
install.packages("rmarkdown")
rmarkdown::pandoc_version()
rmarkdown::pandoc_version()
install.packages('rmarkdown')
library('rmarkdown')
install.packages('bookdown')
install.packages('rtools')