6 Replies Latest reply on Nov 6, 2017 2:37 PM by Andrew Clapson

    How to connect R to Tableau Server

    Shuai Zhao

      Hi,

      I want to connect Tableau Server and R, but got a problem

      I have ran the following scripts, and no error message appears (R and Tableau Server are in the same machine), does that mean the connection is successful ?

       

      tabadmin set vizqlserver.rserve.host localhost

      tabadmin set vizqlserver.rserve.port 6311

      QQ图片20141212104850.jpg

       

      But when I run a worksheet contains R scripts on Tableau Server, still received error message like

       

      "An unexpected error occurred on the server. If you continue to receive this error please contact your Tableau Server Administrator.

      TableauException: No Rserve connection configured. Specify a server name and try again."

       

      What can I do next?

      Many Thanks