Home > other >  RMarkdown error
RMarkdown error

Time:09-16

Recent data mining course, installed the RStudio, then get pandoc gave an issue, but!

I am follow the author installed
https://www.jianshu.com/p/3a1d95f9965a


Before not installed pandoc, I tried it on in the CMD now pandoc -v, had the results
 C: \ Users \ DELL> Pandoc -v 
Pandoc 1.19.2.1
Compiled with pandoc - types 1.17.0.4, texmath 0.9, skylighting 0.1.1.4
The Default user data directory: C: \ Users \ DELL \ AppData \ Roaming \ pandoc
Copyright (C) 2006-2016, John MacFarlane
Web: http://pandoc.org
This is free software; See the source for copying the conditions.
There is no giant, not even for merchantability or fitness
For a particular purpose.

And then I haven't installed pandoc, continue to install the following miktex and rticles

But I'm afraid after RStudio click knit, wrong
 


Processing file: test_rmarkdown01. Rmd
|... |
14%Ordinary text without R code

|... |
29%Label: setup (with the options)
The List of 1
$include: logi FALSE

|... |
43%Ordinary text without R code

|... |
57%Label: cars
|... |
71%Ordinary text without R code

|... |
86%Label: pressure (with the options)
The List of 1
$echo: logi FALSE

|... |
100%Ordinary text without R code


The output file: test_rmarkdown01. Knit. Md

"D:/Program Files/RStudio/bin/pandoc/pandoc" + RTS - K512m - RTS test_rmarkdown01. Utf8, md, to latex, the from markdown + autolink_bare_uris + tex_math_single_backslash - output test_rmarkdown01. Tex, self - contained, highlight - style tango - PDF - engine xelatex - variable graphics - lua - filter "D:/Program Files/R/R - 3.6.2/library/rmarkdown/RMD lua/pagebreak lua" - the lua - filter "D:/Program Files/R/R - 3.6.2/library/rmarkdown/RMD/lua/latex - div. Lua" - variable geometry: margin=1 "in"


Then, after an inquiry, I want to pandoc version might be the problem, so I go to the website to download the latest version of pandoc, a few of the 2.9 a version, after installation, I again pandoc -v, or 1.9 several versions,

The most peculiar is!!!!! Just install pandoc is in C: \ Users \ DELL \ AppData \ Local under this path, a few of the 1.9 version of the query in the CMD is given the default path is C: \ Users \ DELL \ AppData \ Roaming here, and C: \ Users \ DELL \ AppData \ Roaming in this path no pandoc folder!

Have the same problem, too bad!





CodePudding user response:

Like is a question of package update
  • Related