79570621

Date: 2025-04-12 15:28:47
Score: 1.5
Natty:
Report link

Thanks @ismirsehregal. You're absolutely right that DataExplorer::plot_str() can be tricky to use inside a Shiny app

I encountered the same issue when knitting R Markdown documents using rmdformats::readthedown. The default plot_str(df) call does not render properly in the knitted HTML.

The fix is the same: pass the list to networkD3::diagonalNetwork() manually

```{r, echo=FALSE}

library(DataExplorer)

library(networkD3)

df <- mtcars  # Your dataset here

# Pass ‘plot_str’ output to diagonalNetwork

diagonalNetwork(plot_str(df))

```

Reasons:
  • Blacklisted phrase (0.5): Thanks
  • Long answer (-0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: Wondimu Ahmed