Can't get R html visualisation to work

Othman
New Contributor

I'm trying to get a visualisation made using R's networkD3 package to show up in my notebook, but it simply refuses to work. I simply get an empty cell result. Apparently this is a common problem for HTML/JS packages (cfr. https://github.com/MicrosoftDocs/azure-docs/issues/43426), but none of the fixes which I've been able to find have solved the problem. I tried:

- forcing version 0.4.0 of htmltools (doesn't work, because htmlwidgets always imports the latest)

- installing IRdisplay

- using the fix provided in https://docs.databricks.com/_extras/notebooks/source/htmlwidgets.html

Can somebody help me to get this working