Tableau Connect R language

Source: Internet
Author: User

How do I get started with Tableau and R?

For users who are already familiar with R and its capabilities, it is easy to establish a connection between R and Tableau. The following instructions apply to a new installation based on the open source version of R. Other scenarios may also use other packages, such as packages from Revolution Analytics.

    1. Download and install R. Click here to find files and instructions for downloading R.

    2. Download and install Rserve. In order to use the new script function, you need to install a rserve to connect

      Tableau. Enter the following command in the R console:

      Install.packages ("Rserve")

Library (Rserve)

Rserve ()

    1. Connect Tableau to the R server. After installing Rserve, open Tableau Desktop and follow these steps:

    1. Go to the Help menu and select Manage R connections.

    2. Enter the "Localhost" (or "127.0.0.1") server name and Port "6311".

    3. Click the Test Connection button to make sure everything is working. You should see a success message. Click OK to close.

4. Start using the R script in Tableau. You can now create new calculated fields in Tableau Desktop that perform R function calls with the script_* function .

Tableau Connect R language

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.