Fail to run "Knit to HTML"

Dear experts,

I am successful in executing a R Markdown file in R Studio, After that, I attempt to knit it to html document. But at the end of the converting process, the error massages shown below are displayed. How can I be successful in getting the HTML document? I will appreciate any comments. Thanks.

----- Error messages ----

processing file: population-forecasting.Rmd
|... | 4%
ordinary text without R code

|...... | 9%
label: unnamed-chunk-1
|......... | 13%
ordinary text without R code

|............ | 17%
label: unnamed-chunk-2
|............... | 22%
ordinary text without R code

|.................. | 26%
label: unnamed-chunk-3
|..................... | 30%
ordinary text without R code

|........................ | 35%
label: unnamed-chunk-4
|........................... | 39%
ordinary text without R code

|.............................. | 43%
label: unnamed-chunk-5
|................................. | 48%
ordinary text without R code

|..................................... | 52%
label: unnamed-chunk-6
|........................................ | 57%
ordinary text without R code

|........................................... | 61%
label: unnamed-chunk-7
|.............................................. | 65%
ordinary text without R code

|................................................. | 70%
label: unnamed-chunk-8
|.................................................... | 74%
ordinary text without R code

|....................................................... | 78%
label: unnamed-chunk-9
|.......................................................... | 83%
ordinary text without R code

|............................................................. | 87%
label: unnamed-chunk-10
|................................................................ | 91%
ordinary text without R code

|................................................................... | 96%
label: unnamed-chunk-11
|......................................................................| 100%
ordinary text without R code

"C:/Program Files/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS population-forecasting.utf8.md --to html4 --from markdown+autolink_bare_uris+tex_math_single_backslash+smart --output population-forecasting.html --email-obfuscation none --self-contained --standalone --section-divs --template "C:\Users\cheol\OneDrive\문서\R\win-library\3.6\rmarkdown\rmd\h\default.html" --no-highlight --variable highlightjs=1 --variable "theme:bootstrap" --include-in-header "C:\Users\Public\Documents\ESTsoft\CreatorTemp\RtmpasbMe8\rmarkdown-str7af02ceb6ae9.html" --mathjax --variable "mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML" --lua-filter "C:/Users/cheol/OneDrive/문서/R/win-library/3.6/rmarkdown/rmd/lua/pagebreak.lua" --lua-filter "C:/Users/cheol/OneDrive/문서/R/win-library/3.6/rmarkdown/rmd/lua/latex-div.lua"
output file: population-forecasting.knit.md

File here not found in resource path
Error: pandoc document conversion failed with error 99
Execution is stopped.

1 Like

So you have a code example? not sure if it's a code failure, maybe a latex failure or a software issue

#> I am also having similar problem. Here is the chunk:

ggplot(diamonds)+aes(x=clarity,y=price,fill=clarity)+geom_boxplot()+ ggtitle("Diamond price according to clarity")

#> Am getting this error message:

Error in ggplot(diamonds) : could not find function "ggplot"
Calls: <Anonymous> ... handle -> withCallingHandlers -> withVisible -> eval -> eval Execution halted

  |....                                                                  |   6%
  ordinary text without R code

  |........                                                              |  12%
label: setup (with options) 
List of 1
 $ include: logi FALSE

processing file: Assignment3.Rmd
  |............                                                          |  18%
  ordinary text without R code

  |................                                                      |  24%
label: unnamed-chunk-1
  |.....................                                                 |  29%
  ordinary text without R code

  |.........................                                             |  35%
label: unnamed-chunk-2
  |.............................                                         |  41%
  ordinary text without R code

  |.................................                                     |  47%
label: unnamed-chunk-3
  |.....................................                                 |  53%
  ordinary text without R code

  |.........................................                             |  59%
label: unnamed-chunk-4
  |.............................................                         |  65%
  ordinary text without R code

  |.................................................                     |  71%
label: unnamed-chunk-5
  |......................................................                |  76%
  ordinary text without R code

  |..........................................................            |  82%
label: unnamed-chunk-6
  |..............................................................        |  88%
  ordinary text without R code

  |..................................................................    |  94%
label: unnamed-chunk-7

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.