对象';C#u stri#u join';未找到-在Rstudio中使用knitr
在Rstudio中使用knit按钮时,我发现一个错误对象';C#u stri#u join';未找到-在Rstudio中使用knitr,r,rstudio,knitr,stringi,R,Rstudio,Knitr,Stringi,在Rstudio中使用knit按钮时,我发现一个错误未找到对象“C_stri_join” 以下是一个例子: --- title: "Sample Document" output: html_document: toc: true theme: united --- <!-- %\VignetteEngine{knitr::knitr} %\VignetteIndexEntry{Basic test} --> Here we go ```{r} x <-
未找到对象“C_stri_join”
以下是一个例子:
---
title: "Sample Document"
output:
html_document:
toc: true
theme: united
---
<!--
%\VignetteEngine{knitr::knitr}
%\VignetteIndexEntry{Basic test}
-->
Here we go
```{r}
x <- 1
str(x)
```
该错误似乎源于对R代码块中的str
的调用,因为以下操作没有错误:
---
title: "Sample Document"
output:
html_document:
toc: true
theme: united
---
<!--
%\VignetteEngine{knitr::knitr}
%\VignetteIndexEntry{Basic test}
-->
Here we go
```{r}
x <- 1
# str(x)
```
---
标题:“样本文件”
输出:
html_文件:
toc:没错
主题:联合国
---
我们开始
```{r}
x只需重新安装stringi软件包即可解决此问题。对我有效,你是否按照易慧的建议重新安装了stringi?对我来说,重新安装srtingi并不能解决问题。问题不仅发生在knitr上,也发生在许多其他软件包上,例如latex2exp或latex2exp
> sessionInfo()
R version 3.2.2 (2015-08-14)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 7 x64 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=English_United Kingdom.1252
[2] LC_CTYPE=English_United Kingdom.1252
[3] LC_MONETARY=English_United Kingdom.1252
[4] LC_NUMERIC=C
[5] LC_TIME=English_United Kingdom.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] htmltools_0.2.6 tools_3.2.2 yaml_2.1.13 rmarkdown_0.8.1
[5] digest_0.6.8
---
title: "Sample Document"
output:
html_document:
toc: true
theme: united
---
<!--
%\VignetteEngine{knitr::knitr}
%\VignetteIndexEntry{Basic test}
-->
Here we go
```{r}
x <- 1
# str(x)
```