chuxinyuan ```R version 4.1.0 (2021-05-18)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19042), RStudio 1.4.1103
Locale:
LC_COLLATE=Chinese (Simplified)China.936
LC_CTYPE=Chinese (Simplified)China.936
LC_MONETARY=Chinese (Simplified)China.936
LC_NUMERIC=C
LC_TIME=Chinese (Simplified)China.936
Package version:
base64enc_0.1.3
BiocManager_1.30.15
compiler_4.1.0
digest_0.6.27
evaluate_0.14
glue_1.4.2
graphics_4.1.0
grDevices_4.1.0
highr_0.9
htmltools_0.5.1.1
jsonlite_1.7.2
knitr_1.33
magrittr_2.0.1
markdown_1.1
methods_4.1.0
mime_0.10
rlang_0.4.11
rmarkdown_2.8
stats_4.1.0
stringi_1.5.3
stringr_1.4.0
tinytex_0.31
tools_4.1.0
utils_4.1.0
xfun_0.23
yaml_2.2.1 ```
ordinary text without R code
|.................... | 29%
label: setup (with options)
List of 1
$ include: logi FALSE
processing file: Rmarkdown-练习4.Rmd
|.............................. | 43%
ordinary text without R code
|........................................ | 57%
label: cars
|.................................................. | 71%
ordinary text without R code
|............................................................ | 86%
label: pressure (with options)
List of 1
$ echo: logi FALSE
|......................................................................| 100%
ordinary text without R code
"D:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS Rmarkdown-练习4.knit.md --to latex --from markdown+autolink_bare_uris+tex_math_single_backslash --output Rmarkdown-练习4.tex --lua-filter "D:\Program Files\R-4.1.0\library\rmarkdown\rmarkdown\lua\pagebreak.lua" --lua-filter "D:\Program Files\R-4.1.0\library\rmarkdown\rmarkdown\lua\latex-div.lua" --self-contained --highlight-style tango --pdf-engine pdflatex --variable graphics
output file: Rmarkdown-练习4.knit.md
! Missing endcsname inserted.
<to be read again>
global
l.144 ...粌涔?_files/figure-latex/pressure-1.pdf}
错误: LaTeX failed to compile Rmarkdown-练习4.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Rmarkdown-练习4.log for more info.
停止执行```
到处pdf还是报错,html和word都没有问题,谢谢答复 😀