hi I have a table created in FORMATTABLE in R STUDIO. what is the easiest way to export this as a PNG? thank you!
Hi @help,
It's not simple but see an explanation here:
https://stackoverflow.com/questions/38833219/command-for-exporting-saving-table-made-with-formattable-package-in-r
Alternatively you could use kableExtra, for example
library(tidyverse)
library(kableExtra)
scores <- data.frame(id = 1:5,
prev_score = c(10, 8, 6, 8, 8),
cur_score = c(8, 9, 7, 8, 9),
change = c(-2, 1, 1, 0, 1))
scores %>%
kbl() %>%
kable_classic() %>%
save_kable("fig.png", zoom = 10)
This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.