Skip to content

can not use head or kable function on data.table objrcts(data.table 1.9.3) #809

@badbye

Description

@badbye

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.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions