Jack Chen
Install R
- Go to R project and download R (Linux, Mac or Windows version) then install R.

- Go to R Studio and download R Sutdio. (Optional)
- Start R, load the Rserve library and call the Rserve service in the R environment
install.package("Rserve")
library(Rserve)
Rserve(args = "--no--save")
Connect Rserve with Tableau
1.Open Tableau and establish a connection to Rserve from Tableau.
Help -> Settings and Performance -> Manage R connections

2.Set Server = localhost and port = 6311 then click OK

References:
- Tableau: How to integrate R andt Tableau
- Integrating Tableau and R for data analytics in four simple steps
- Tableau: Online help