Plotly from R in Power BI

I am trying to use lib plotly in a R script hosted by Power BI but this fails…
While same script in R studio works like a charm

I saw some posts in 2019 telling this is not supported. I am wondering if this is still the case.

Thanks for your help