Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/72.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R笔记本预览中的奇怪字符_R_R Markdown - Fatal编程技术网

R笔记本预览中的奇怪字符

R笔记本预览中的奇怪字符,r,r-markdown,R,R Markdown,当我预览我的R笔记本时,HTML输出包含奇怪的字符 此块包含代码和输出 以HTML格式呈现为 我该如何解决这个问题 会话信息: R版本3.6.0(2019-04-26) 平台:x86_64-w64-mingw32/x64(64位) 运行于:Windows 10 x64(内部版本17763) 矩阵乘积:默认值 区域设置: 信用证贴现=荷兰。1252信用证贴现类型=荷兰。1252信用证贴现货币=荷兰。1252信用证贴现数字=C [5] LC_时间=荷兰时间1252 其他随附包裹: plotly_

当我预览我的R笔记本时,HTML输出包含奇怪的字符

此块包含代码和输出

以HTML格式呈现为

我该如何解决这个问题

会话信息:

R版本3.6.0(2019-04-26) 平台:x86_64-w64-mingw32/x64(64位) 运行于:Windows 10 x64(内部版本17763)

矩阵乘积:默认值

区域设置: 信用证贴现=荷兰。1252信用证贴现类型=荷兰。1252信用证贴现货币=荷兰。1252信用证贴现数字=C
[5] LC_时间=荷兰时间1252

其他随附包裹: plotly_4.9.0 DT_0.6 shinydashboard_0.7.1 shinydashboard_1.3.2 lubridate_1.7.4 for Cats_0.4.0
[7] stringr_1.4.0 dplyr_0.8.1 purrr_0.3.2 readr_1.3.1 tidyr_0.8.3 tibble_2.1.1
[13] ggplot2_3.1.1 tidyverse_1.2.1

通过命名空间加载(未附加): tidyselect_0.2.5 xfun_0.7 haven_2.1.0 lattice_0.20-38 colorspace_1.4-1 generics_0.0.2 viridisLite_0.3.0 htmltools_0.3.6
[9] base64enc_0.1-3 yaml_2.2.0 rlang_0.3.4支柱_1.4.0之后的_0.8.0使用R_2.1.2 modelr_0.1.4粘合_1.3.1
[17] readxl_1.3.1 plyr_1.8.4芒塞尔_0.5.0 gtable_0.3.0 cellranger_1.1.0 rvest_0.3.4 htmlwidgets_1.3评估_0.14
[25]knitr_1.23 httpuv_1.5.1串扰_1.0.0扫帚_0.5.2 Rcpp_1.0.1 xtable_1.8-4刻度_1.0.0后端口_1.1.4
[33]promises_1.0.1 jsonlite_1.6 mime_0.6 hms_0.4.2 digest_0.6.19 stringi_1.4.3 grid_3.6.0 cli_1.1.0
[41]tools_3.6.0 magrittr_1.5 lazyeval_0.2.2蜡笔_1.3.4 pkgconfig_2.0.2数据。表_1.12.2 xml2_1.2.0 rmarkdown_1.13

[49]断言_0.2.1 httr_1.4.0 rstudioapi_0.10 R6_2.4.0 nlme_3.1-139编译器_3.6.0

似乎是渲染过程中的一个错误,因为代码与文本颜色一致。如果还没有更新RStudio、Knitr和Rmarkdown,请尝试更新。我有R、RStudio、Knitr和Rmarkdown的最新版本。我已经在我的问题中添加了部分SessionInfo。我注意到在RStudio云上我也有同样的问题。