Render images in datatables in shiny

时间:2015-10-30 21:22:38

标签: r shiny-server shiny

Is there a way to render images in a datatable in shiny ?

If I try adding the tag

paste(<img src="http://test.com/img/', x, '.jpg" height=52></img>', sep='')

as part of the column (in which i want to show the image) it just spits out the html tag and not the image.

1 个答案:

答案 0 :(得分:3)

As @bunk mentioned, escape=FALSE works for embedding the images in a datatable.