[R] compiling Rmd - can't find tex file....
Witold E Wolski
wewolski at gmail.com
Wed Aug 26 11:46:13 CEST 2015
I am using from within R-studio and the .Rmd file builds nicely.
However, when I try to compile the fiel using :
knit2pdf( "specL.Rmd", output=file.path("res.12345","specL.pdf") )
I am getting tex errors (see below). When I wan't to check what's wrong I
can't find the tex file.
Any ideas?
Thank you
PS: Errors:
|.............................................................. | 95%
label: writepepProt
|.................................................................| 100%
ordinary text without R code
*output file: res.12345/specL.pdf*
*Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,
: *
* Running 'texi2dvi' on 'specL.pdf' failed.*
*LaTeX errors:*
*! Missing $ inserted.*
*<inserted text> *
* $*
*<to be read again> *
* _*
*! Missing $ inserted.*
*<inserted text> *
* $*
*<to be read again> *
* \par *
*! You can't use `macro parameter character #' in horizontal mode.*
*l.15 #*
--
Witold Eryk Wolski
[[alternative HTML version deleted]]
More information about the R-help
mailing list