Skip to contents

Setup Databricks RMarkdown

Usage

setup_databricks_rmd(cluster_id)

Arguments

cluster_id

Databricks cluster ID

Value

Databricks execution context ID

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.