2015-02-07 67 views
2

我是一名针织用户。如何隐藏pander()中的消息?

我想隐藏消息 “Table:Table below below” from pander()。

你能告诉我哪个选项有效吗?

谢谢。

下面是玩具样品。

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

回答

5

有三个options覆盖表下面的默认标题。例如:

> 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 
----------------------------------------------------------------- 
+0

谢谢!有用。 – 2015-02-07 07:04:56