Setup Databricks RMarkdown
Details
This function should be run in an RMarkdown setup chunk to allow subsequent
chunks to use databricks_*
related knitr engines that allow remote
execution against a Databricks cluster.
This function deliberately does not have parameters to accept credentials
(host/token). These credentials should be managed elsewhere (e.g. .Renviron
)
and not stored in plain-text within the script or markdown.