R Markdown Error: 'is_latex_output' is not an exported object from 'namespace:knitr' [duplicate]

老子叫甜甜 提交于 2020-03-18 04:50:54

问题


I have this Error when I first time using R Markdown, just a simple test run.

---
title: "test"
author: "Lulu"
date: "3/6/2018"
output: html_document
---

```{r}
library(datasets)
data("airquality")
summary(airquality)
```

then it reports:

output file: test.knit.md

Error: 'is_latex_output' is not an exported object from 'namespace:knitr'
Execution halted

Does anyone know how to solve it?


回答1:


Not the most current version

You can try update Knitr

install.packages('knitr', repos = c('http://rforge.net', 'http://cran.rstudio.org'),
             type = 'source')


来源:https://stackoverflow.com/questions/49140030/r-markdown-error-is-latex-output-is-not-an-exported-object-from-namespacekn

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!