Last Modified Date: 28 Jun 2017
Step 1: Install and Configure R and Rserve
Install R and run the Rserve service. For more information on installing and configuring R, see R Implementation Notes.
Note: It is not recommended to install any other server applications or databases, including R, on the computers running Tableau Server. When R is not installed on the computer running Tableau Server, it must be configured for a remote connection.
Step 2: Configure Tableau Server
- Stop Tableau Server.
- Open the Command Prompt as an administrator and change to the Tableau Server bin directory. For example:
cd "C:\Program Files (x86)\Tableau\Tableau Server\9.1\bin"
cd "C:\Program Files\Tableau\Tableau Server\9.1\bin"
- Enter the following commands to set the host address and port values:
tabadmin set vizqlserver.rserve.host <ip address of Rserve>
tabadmin set vizqlserver.rserve.port <port of Rserve>
- Enter the following command to register the changes:
- Start Tableau Server.