Skip to content

Issues with commenting on code lines appearing in compiled PDF #60

Open
@rpatel22

Description

@rpatel22

Hi

I've recently started to use knitr to compile latex documents.

<<tidy=TRUE>>=
#Q1b
rep(11:15, times = c(1,5,2,2,1)) # the times vector tells us how much for each of respective numbers 10 to 15 we want repeat.
@
image

I have fairly long comments because I'm trying to explain myself, but whenever the PDF is compiled. My comments are always cut off. Is there a way I can include my comments? I tried tidy=TRUE but nothing happened.

Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions