From the course: Databricks Certified Data Engineer Associate Cert Prep: 2 ELT with Spark SQL and Python

Unlock this course with a free trial

Join today to access over 24,600 courses taught by industry experts.

Installing and using Databricks for RStudio

Installing and using Databricks for RStudio

- [Instructor] Databricks also works with both R and the RStudio environment. You can see here this is a Databricks SDK for R tutorial and notice that it's an experimental SDK for now, but the gist of it is that you need to build out inside of your local R environment a Databricks host. So this would be your workspace URL and then your token, which you can get from the Databricks administrative console. Once you've done that and you've gone through and you've created that token, you can actually put it inside of your .Renviron files. Obviously this is something that must not go into version control systems because this would have the personal access token and also the workspace URL, but once you've done that, you'll go through here and install these packages. So you'll say install.packages("devtools") library(devtools) and then you'll install it directly from GitHub. Finally, all you need to do is go inside of here and…

Contents