12.1 Working in a .R file

We will demonstrate this in two ways. First, we will show what you might do if you were working in standard R script file, then exporting certain objects only.

Second, we will talk about the approach if you were primarily working in a Notebook, which makes things easier.

We presume that the data have been cleaned carefully and the Get the data, Check the data, Data exploration and Model building steps have already been completed.