Question: Is there a list anywhere of R packages which work with knitr+RStudio?

(Note: I already changed RStudio's defaults to use xeLaTeX and knitr instead of PDFLaTeX and Sweave, since my default TeX compiler in TeXStuido is xeLaTeX.)

Background: For example, this person had a problem because of the LaTeX package framed.sty, this person had a problem because of the LaTeX packages html.sty and etoolbox.sty (I have also had problems with etoolbox I think).

But even more glaringly, in this MWE from Yihui Xue's website, if one includes the \usepackage{breakurl} line when trying to compile in RStudio, the process breaks down, but if one removes that line, then suddenly everything works without a problem.

I imagine it works fine from the command line, but I don't even know how to use LaTeX, xeLaTeX, or R from the command line, much less all three at the same time.

Such a list would be useful for complete novices like me who are barely getting used to how the workflow works, and are not good at diagnosing problems based on error messages thrown by RStudio's calls to LaTeX.

closed as off-topic by Henri Menke, Kurt, Troy, Johannes_B, Stefan Pinnow Dec 17 '17 at 7:54

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question does not fall within the scope of TeX, LaTeX or related typesetting systems as defined in the help center." – Henri Menke, Kurt, Troy, Johannes_B, Stefan Pinnow
If this question can be reworded to fit the rules in the help center, please edit the question.

Browse other questions tagged or ask your own question.