проблема с RMarkdown на человечности 14.04

Я плохо знаком с RStudio и RMarkdown. Когда я попытался связать свой первый документ PDF в Rstudio, я получил следующее сообщение:

processing file: Preview-4cef6f7763df.Rmd
  |.............                                                    |  20%
  ordinary text without R code

  |..........................                                       |  40%
label: unnamed-chunk-1
  |.......................................                          |  60%
  ordinary text without R code

  |....................................................             |  80%
label: unnamed-chunk-2 (with options) 
List of 1
 $ echo: logi FALSE

cropping ./Preview-4cef6f7763df_files/figure-latex/unnamed-chunk-2-1.pdf
PDFCROP 1.38, 2012/11/02 - Copyright (c) 2002-2012 by Heiko Oberdiek.
==> 1 page written on `./Preview-4cef6f7763df_files/figure-latex/unnamed-chunk-2-1.pdf'.
  |.................................................................| 100%
  ordinary text without R code


/usr/lib/rstudio/bin/pandoc/pandoc Preview-4cef6f7763df.utf8.md --to latex --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash-implicit_figures --output Preview-4cef6f7763df.pdf --template /home/klemen/R/i686-pc-linux-gnu-library/3.0/rmarkdown/rmd/latex/default.tex --highlight-style tango --latex-engine pdflatex --variable 'geometry:margin=1in' 
output file: Preview-4cef6f7763df.knit.md

! Incomplete \iffalse; all text was ignored after line 110.
<inserted text> 
                \fi 
<*> /tmp/tex2pdf.2746/input.tex

!  ==> Fatal error occurred, no output PDF file produced!
Transcript written on /tmp/tex2pdf.2746/input.log.

pandoc: Error producing PDF from TeX source
Error: pandoc document conversion failed with error 43
Execution halted

Я действительно не знаю, как зафиксировать это. Кто-либо может помочь?Спасибо.

2
задан 20 November 2014 в 00:33

1 ответ

Удаление точки на дате (или выход из него с \\.) разрешило ошибку в моем случае.

См.: https://github.com/rstudio/rmarkdown/issues/145

2
ответ дан 6 October 2019 в 20:03

Другие вопросы по тегам:

Похожие вопросы: