Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dollar sign ($) and RJournal style #10

Closed
nicolasturaro opened this issue Jul 30, 2014 · 2 comments
Closed

Dollar sign ($) and RJournal style #10

nicolasturaro opened this issue Jul 30, 2014 · 2 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@nicolasturaro
Copy link

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.

@nicolasturaro nicolasturaro changed the title Problem with dollar sign ($) Dollar sign ($) and RJournal style Jul 30, 2014
@yihui yihui added the bug label Sep 4, 2014
@yihui yihui closed this as completed in 60a5f78 Jul 3, 2018
@yihui
Copy link
Member

yihui commented Jul 3, 2018

Fixed. Please try devtools::install_github('rstudio/rticles'). Note that it will require Pandoc 2.2.1. You can use the Preview version of RStudio if you do not want to install Pandoc separately: https://www.rstudio.com/products/rstudio/download/preview/

yihui added a commit that referenced this issue Jul 3, 2018
…raw latex block ```{=latex} for R Journal articles, which is the same fix as 8da3d29
yihui added a commit that referenced this issue Jul 3, 2018
…raw latex block ```{=latex} for R Journal articles, which is the same fix as 8da3d29
@github-actions
Copy link

github-actions bot commented Nov 2, 2020

This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants