2017-11-07 8 views
0

내가있는 테이블을 생산하기 위해 노력하고는 "*"셀의 값으로 :knitr KABLE 및 "*"

--- 
title: "Untitled" 
author: "James Durant" 
date: "November 7, 2017" 
output: pdf_document 
--- 

```{r arthmatic, echo=FALSE} 
library(knitr) 
dfx <- data.frame(
    Operator = c("+", "-", "*", "/", "^", "**", "%%", "%/%"), 
    Operation = c("addition", "subtraction", "multiplication", 
       "division", "exponentiation", "exponentiation", 
       "modulus", "integer division") 
) 
kable(dfx, escape = FALSE) 
``` 

하지만 *와 ** 테이블에 표시되지 않습니다 enter image description here

아이디어가 있으십니까?

답변

3

너무 \\text{*} 또는 \\textasteriskcentered

+0

* 교체 ... 감사 데이빗! –