Since data.table 1.9.2 version run incorrectly in slidify, I install the developed version 1.9.3, but another problem arises when i use kable function from knitr.
Here is my code:
library(knitr)
library(data.table)
DT = data.table(x = 1:5, y =6:10)
kable(DT)
The Error message:
错误于[<-.data.table(*tmp*, , isn, value = c("TRUE", "TRUE")) :
j must be vector of column name or positions
Currently I use kable(as.data.frame(DT)) which works but not elegant.