1

With R markdown I can create an horizontal line with

---

This worked perfectly in RStudio on windows with Miktek. But I switch to Tinytex and installed Tex Live, and now --- works on html output, but no on pdf output.

Rendering to pdf I get:

! Missing number, treated as zero.
<to be read again> 
                   \protect 
l.96 ...enter}\rule{0.5\linewidth}{\linethickness}
                                                  \end{center} 

Error: Failed to compile GSVIIIPE.tex. See https://yihui.name/tinytex/r/#debugging for debugging tips. See GSVIIIPE.log for more info.
Ejecución interrumpida

I haven´t found a solution to this. Could anyone tell me is there is any solution?

Thanks

0 Answers0