kableExtra icon indicating copy to clipboard operation
kableExtra copied to clipboard

kableExtra formatting lost in loop

Open StevenVB12 opened this issue 3 years ago • 0 comments

Dear Hao Zhu,

I'm using kableExtra to display tables with a for loop. When using the kable function (plus formatting functions) separately, it works fine, but when I use it in a loop it just prints the column names and row values line by line.

I have added results="asis", used print() and added a cat("\n") at the end, as suggested in other issue threads. However, this does not solve the problem as it does for the library(kable) function.

Many thanks for any help with this!

Best regards,

Steven

StevenVB12 avatar Sep 30 '21 04:09 StevenVB12