2

我是 knitr 用户。

我想从 pander() 隐藏消息“表格:表格在下面继续”。

你能让我知道哪个选项有效吗?

谢谢你。

下面是玩具样品。

data <- matrix(c(1:100),nrow=1)
panderOptions("table.split.table", 100)
pander(as.data.frame(data))
4

1 回答 1

6

There are three options to override the default caption below tables. E.g.:

> panderOptions('table.continues', '')
> pander(as.data.frame(data))

--------------------------------------------------------------
 V1   V2   V3   V4   V5   V6   V7   V8   V9   V10   V11   V12 
---- ---- ---- ---- ---- ---- ---- ---- ---- ----- ----- -----
 1    2    3    4    5    6    7    8    9    10    11    12  
--------------------------------------------------------------


-----------------------------------------------------------------
 V13   V14   V15   V16   V17   V18   V19   V20   V21   V22   V23 
----- ----- ----- ----- ----- ----- ----- ----- ----- ----- -----
 13    14    15    16    17    18    19    20    21    22    23  
-----------------------------------------------------------------
于 2015-02-07T05:17:08.407 回答