htmlwidgets
With htmlwidgets for R you can generate interactive plots using R’s flexible syntax and environment. Azure Databricks notebooks support htmlwidgets.
The setup has two steps:
- Install pandoc, a Linux package used by htmlwidgets to generate HTML.
- Change one function in the htmlwidgets package to make it work in Azure Databricks.
You can automate the first step using an init script so that the cluster installs pandoc when it launches. You should do the second step, changing an htmlwidgets function, in every notebook that uses the htmlwidgets package.
The notebook shows how to use htmlwidgets with dygraphs, leaflet, and plotly.
Important
With each library invocation, an HTML file containing the rendered plot is downloaded. The plot does not display inline.
Notebook example: htmlwidgets
The following notebook shows how to use htmlwidgets.
htmlwidgets notebook
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示