Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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

Tags:

r

r-markdown

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?

like image 904
Lulu Zheng Avatar asked Mar 06 '18 21:03

Lulu Zheng


1 Answers

Not the most current version

You can try update Knitr

install.packages('knitr', repos = c('http://rforge.net', 'http://cran.rstudio.org'),
             type = 'source')
like image 135
Shawn Shao Avatar answered Nov 12 '22 19:11

Shawn Shao