Here is an equation in a label without any R code:
$a^2 + b^2 = c^2$
(this doesn't render as an equation)
Here is an equation in a label with a R code chunk:
2 + 2
## [1] 4
\(a^2 + b^2 = c^2\)
(this doesn’t render as an equation)
Your browser does not support iframes.