[R] roxygen2 & markdown & math

Jeff Newmiller jdnewm|| @end|ng |rom dcn@d@v|@@c@@u@
Tue Jan 12 19:55:48 CET 2021

a) This discussion is on the wrong mailing list. Please go to R-package-devel if you want to continue this discussion.

b) You can do whatever you want in your vignettes, but R doc files are designed to work with multiple output devices, including text-only terminals, so syntax specific to certain environments is not allowed. If you want to contribute improvements to R doc capabilities, I am sure patches will be considered as long as you adhere to the existing multi-platform constraints.

On January 12, 2021 10:12:51 AM PST, Sigbert Klinke <sigbert using wiwi.hu-berlin.de> wrote:
>thanks a lot, but maybe I was to vague.
>I do not want to replace \eqn{...} and \deqn{...} by \mjseqn{...} and 
>\mjsdeqn{...}. I would like to use $...$ and $$...$$ as in Rmarkdown to
>get something better readable.
>Best Sigbert
>Am 12.01.21 um 10:41 schrieb Viechtbauer, Wolfgang (SP):
>> Dear Sigbert,
>> The mathjaxr package provides this:
>> https://cran.r-project.org/package=mathjaxr
>> https://github.com/wviechtb/mathjaxr
>> Best,
>> Wolfgang
>>> -----Original Message-----
>>> From: R-help [mailto:r-help-bounces using r-project.org] On Behalf Of
>>> Klinke
>>> Sent: Tuesday, 12 January, 2021 9:14
>>> To: r-help using r-project.org
>>> Subject: [R] roxygen2 & markdown & math
>>> Hi,
>>> I like to make my package documentation with markdown which is
>>> since roxygen2 6.0.0 . I used a math expression like $t_n \appox
>>> which leads in the package check to "unknown macro '\approx'".
>>> I guess I get the warning because math is not supported in markdown.
>>> there any plans to support something like $...$ or $$...$$? Or there
>>> general problems?
>>> Best Sigbert
>>> --
>>> https://hu.berlin/sk
>>> https://hu.berlin/mmstat
>>> https://hu.berlin/mmstat-int
>>> https://hu.berlin/mmstat-ar

Sent from my phone. Please excuse my brevity.

More information about the R-help mailing list