alexsanjoseph / compareDF

R Tool to compare two data.frames
Other
93 stars 17 forks source link

Output compare result with Shiny #13

Closed RKonstantinR closed 6 years ago

RKonstantinR commented 6 years ago

There is a way to display $htlm_output with Shiny::htmlOutput function?

alexsanjoseph commented 6 years ago

I haven't thought of this use case, really. Can you give me some more info into your use case?

RKonstantinR commented 6 years ago

You can see my code example with additional info at stackoverflow: https://stackoverflow.com/questions/51381762/shiny-output-comparison-results-in-html-format

alexsanjoseph commented 6 years ago

Sorry for the late reply, was caught up with personal issues to deal with GH issues ;)

I was trying to find a solution for this in the package, but I learned today that shiny has this functionality implemented trivially. You can solve this by adding the shiny::HTML() tag to your output. I've given an example in SO.