我有这样一张桌子:
dat <- data.frame(title=c("some title","other title but longer","third title but even longer than previous"),owner=c("John","Alice","Peter"),labels=c("Urgent","to do","done"),content=c("some content that may spans multiple lines bla bla bla","awesome content that may spans multiple lines bla bla bla","boring content that may spans multiple lines bla bla bla"))
# title owner labels content
# 1 some title John Urgent some content that may spans multiple lines bla bla bla
# 2 other title but longer Alice to do awesome content that may spans multiple lines bla bla bla
# 3 third title but even longer than previous Peter done boring content that may spans multiple lines bla bla bla
我想以此形式在rmd文件中显示此表。预期的输出是html和word。
谢谢