ropensci / magick

Magic, madness, heaven, sin
https://docs.ropensci.org/magick
Other
462 stars 65 forks source link

image in (kable) table #383

Open vladdez opened 1 year ago

vladdez commented 1 year ago

Is it possible to use your library to put an icon/image into the table? Imagine usual data frame with a column consisting of images.

dcaud commented 1 year ago

You could use something like image_montage to recreate the look of a tabular format. Also, you could output images from magic and use kable or something similar to format them in html or markdown. But the latter option is best supported by looking for functions or asking for help within the kable or rmarkdown libraries.