How can I install pandoc on a Databricks cluster using an init script to use htmlwidgets in my notebooks?
To install pandoc on a Databricks cluster using an init script, you can follow these steps:

1. Create a bash script with the following content and upload it to a DBFS location accessible by your cluster. For example, you can create a file named `install_pandoc.sh` with the following content:

```bash
#!/bin/bash
wget https://github.com/jgm/pandoc/releases/download/2.14.1/pandoc-2.14.1-1-amd64.deb
sudo dpkg -i pandoc-2.14.1-1-amd64.deb
```

2. Create an init script in Databricks that runs the bash script during cluster startup. You can do this by navigating to the cluster configuration page, clicking on the "Init Scripts" tab, and adding a new init script with the following content:

```bash
dbutils.fs.mkdirs("dbfs:/databricks/init_scripts/")
dbutils.fs.cp("file:/tmp/install_pandoc.sh", "dbfs:/databricks/init_scripts/install_pandoc.sh")
```

Replace `/tmp/install_pandoc.sh` with the path to the bash script you created in step 1.

3. Restart the cluster for the init script to take effect.

After completing these steps, pandoc should be installed on your Databricks cluster, allowing you to use htmlwidgets in your notebooks.