In this workbook, it contains R functions so you need to have R installed and start Rserve. then connect with Tableau.
Setting Up Tableau Desktop with R
Getting started with R on Tableau is easy. Tableau communicates with R using a package called Rserve. If you do not already have R, you will want to install R and Rserve on computer running Tableau Desktop. You can get R from from http://cran.us.r-project.org/. You can install and initiate Rserve from R command line by entering:
install.packages("Rserve"); library(Rserve); Rserve()
Alternatively, you can have Tableau run R scripts on a remote server running Rserve.
Next, you will want to configure your connection. You can do this using a new item in the Help menu: “Manage R connection…”.