Hi.
When using the dollar sign ($) in a code chunk, knitting as rticles::rjournal_article doesn't parse the code. Using html or pdf_document as output doesn't show the issue.
Accordingly to http://meta.stats.stackexchange.com/questions/1384/markdown-r-code-and-dollar-sign, it seems an old bug of rmarkdown that still keep in rticles.
As described at the link above, putting a $ in the same line, after the comment sign, workaround the issue.
A minimal example of the problem is here: https://github.com/nicolasturaro/R-misc/tree/master/rjournal_issue
Thank you.
Hi.
When using the dollar sign ($) in a code chunk, knitting as rticles::rjournal_article doesn't parse the code. Using html or pdf_document as output doesn't show the issue.
Accordingly to http://meta.stats.stackexchange.com/questions/1384/markdown-r-code-and-dollar-sign, it seems an old bug of rmarkdown that still keep in rticles.
As described at the link above, putting a $ in the same line, after the comment sign, workaround the issue.
A minimal example of the problem is here: https://github.com/nicolasturaro/R-misc/tree/master/rjournal_issue
Thank you.