Skip to content

RJournal doesn't like ^ or % or $ in R code chunks #70

@njtierney

Description

@njtierney

Thanks for putting this package together, it's super cool!

I'm working on submitting an Article to the R Journal, and am using the R Journal template from rticles.

I've got it here on my github: https://github.com/njtierney/A-Simple-Guide-to-S3-Methods

When I render the article, I random sections of it render into text, and then the R comments get treated as first level headers. When I changed the R programming code from ^ to use ** instead, there were fewer problems, but it now seems that when I call something like x$residuals in the .Rmd, LaTeX has trouble parsing it, as well as %in%

This is particularly on pages 4, 5, and 6 of the PDF.

I'll probably just change the .tex file to get it to render well in the end, but just thought you guys would like to know!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions