小编pol*_*ath的帖子

在Shiny模式下的R Markdown中插入Latex方程式

我想在R Markdown文档中插入Latex方程和Shiny apps.但是,使用以下行时,Latex方程式无法正确显示:

---
title: "Untitled"
date: "Saturday, August 02, 2014"
output: html_document
runtime: shiny
---

Test 

* test 1 :  $x$
* test 2 : \(x\)
Run Code Online (Sandbox Code Playgroud)

降价文档中的两个Latex方程式在HTML文档中显示为\(x \)(如果我禁止"runtime:shiny"这一行,它们会在HTML文档中正确显示).这可能是一个错误,或者Shiny和Latex之间是否有任何不兼容性?我使用的是RStudio 0.98.981.

markdown latex r knitr shiny

5
推荐指数
1
解决办法
2981
查看次数

标签 统计

knitr ×1

latex ×1

markdown ×1

r ×1

shiny ×1