You probably did not read the manual, which has instructions on how to input R code in a LyX document: either through Insert --> TeX Code
(Ctrl + L
), or use the Chunk
environment from the drop-down menu on the toolbar. You should not type R code as normal paragraphs in LyX.
LyX->Rnw conversion automatically inserts ligature breaks between repeated "<" characters
Question
The title says it all; the screenshot below gives the gory details. (The .Rnw file in the temporary buffer folder is identical to the LaTeX Source in the image.) As you can imagine, knit()
won't knit this crap. I cannot for the life of me figure out how to make those ligature breaks go away.
So I guess my question is... Help?
Solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow