Preparing Tableau Prep to work with R
R is a statistical programming language favored by many data scientists. It is available free of charge and benefits from a vast online community for ideation and support. To find out more about R, visit https://www.r-project.org/about.html. R by itself does not support interaction with other applications such as Tableau Prep. In order to extend R with that functionality, we need to install Rserve in addition to R itself.
Important note
The R programming language and the R and RStudio application interfaces are not part of Tableau Prep; they are separate technologies. An in-depth look at R is beyond the scope of this book. However, every system is slightly different, and you may run into unexpected challenges. For help, please refer to the R website: https://cran.r-project.org.
In this recipe, we will provide general guidance for configuring your system successfully.
Getting ready
To follow along with this recipe, download the Sample...