-
Book Overview & Buying
-
Table Of Contents
Advanced Analytics with R and Tableau
By :
Rserve is a server that allows applications to access R functionality. It allows you to use a series of functions to pass R expressions to an Rserve server and obtain a result.
If you upload a workbook that contains R functionality to the Tableau server, then the Tableau server must have a connection to an Rserve server. See R Connection, in the Tableau Desktop help, for details.
R is not supported for Tableau Reader or Tableau Online.
In this section, we will install, run, and configure Rserve.
To install and run Rserve, follow these steps:
Rserve and click OK.R.dll to your path environment variable. For example, C:\Program Files\R\R-3.0.2\bin\x64.
Let's check that Rserve is running properly:
In RStudio, let's call Rserve by running the following command in the RStudio Console:
library(Rserve)
To configure an Rserve connection, follow these steps: