[R] Double / single backticks for inline R code in an Rmarkdown file

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Mon Oct 14 15:37:00 CEST 2019

No, you don't misunderstand. But you might want to be aware that targeting PDF output uses LaTeX which regards double backticks as a method of encoding a left curly double quote mark, so this error could derive from an incomplete adaptation of the Rmd file for HTML output even though such a symbol doesn't make sense there in PDF either.

On October 14, 2019 4:35:26 AM PDT, Ashim Kapoor <ashimkapoor using gmail.com> wrote:
>Dear All,
>I am reading this file :-
>My query is : In line 14 of the above file, ie.
>The [marmap](https://cran.r-project.org/web/packages/marmap/index.html)
>package provides tools and data for visualizing the ocean floor. Here
>is an
>example contour plot of marmap's ``r params$data`` dataset.
>Should not the phrase rparams$data be within SINGLE backticks ?
>Do I misunderstand?
>Thank you,
>	[[alternative HTML version deleted]]
>R-help using r-project.org mailing list -- To UNSUBSCRIBE and more, see
>PLEASE do read the posting guide
>and provide commented, minimal, self-contained, reproducible code.

Sent from my phone. Please excuse my brevity.

More information about the R-help mailing list