From the course: Azure Spark Databricks Essential Training

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Use an R notebook

Use an R notebook

From the course: Azure Spark Databricks Essential Training

Start my 1-month free trial

Use an R notebook

- So now we are going to take a look at using a different runtime in a notebook. In this case we're going to use R. You can see the notebook is set to R. Now when you create a new notebook, you set the runtime. But, what I've been doing is I've been importing notebooks. So, to import into the workspace, just as a reminder I made a folder inside of my workspace, and I just said import, so here I am. And then I just browse down and this particular one happens to be, this one. And then just click on this one and import it. Now you could also create a new notebook, but more often than not I will end up importing them. So this one takes a few minutes to run. So I actually ran it already and what I'm showing you here is working with a different set of libraries. So really common in the data science world do you have people that have an R background statistical programming language, and we're using sparklyr in this databricks R notebook. So what we've done here is in the first section, we're…

Contents