[R] roxygen2 & markdown & math

Viechtbauer, Wolfgang (SP) wo||g@ng@v|echtb@uer @end|ng |rom m@@@tr|chtun|ver@|ty@n|
Tue Jan 12 10:41:59 CET 2021


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 Sigbert
>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 supported
>since roxygen2 6.0.0 . I used a math expression like $t_n \appox N(0,1)$
>which leads in the package check to "unknown macro '\approx'".
>
>I guess I get the warning because math is not supported in markdown. Are
>there any plans to support something like $...$ or $$...$$? Or there are
>general problems?
>
>Best Sigbert
>
>--
>https://hu.berlin/sk
>https://hu.berlin/mmstat
>https://hu.berlin/mmstat-int
>https://hu.berlin/mmstat-ar



More information about the R-help mailing list