Book Image

Advanced Analytics with R and Tableau

By : Ruben Oliva Ramos, Jen Stirrup, Roberto Rösler
Book Image

Advanced Analytics with R and Tableau

By: Ruben Oliva Ramos, Jen Stirrup, Roberto Rösler

Overview of this book

Tableau and R offer accessible analytics by allowing a combination of easy-to-use data visualization along with industry-standard, robust statistical computation. Moving from data visualization into deeper, more advanced analytics? This book will intensify data skills for data viz-savvy users who want to move into analytics and data science in order to enhance their businesses by harnessing the analytical power of R and the stunning visualization capabilities of Tableau. Readers will come across a wide range of machine learning algorithms and learn how descriptive, prescriptive, predictive, and visually appealing analytical solutions can be designed with R and Tableau. In order to maximize learning, hands-on examples will ease the transition from being a data-savvy user to a data analyst using sound statistical tools to perform advanced analytics. By the end of this book, you will get to grips with advanced calculations in R and Tableau for analytics and prediction with the help of use cases and hands-on examples.
Table of Contents (16 chapters)
Advanced Analytics with R and Tableau
About the Authors
About the Reviewers
Customer Feedback

Installing R for Windows

The following steps shows how to download and install R on windows:

  1. The first step is to download your required version of R from the CRAN website [].

  2. Go to the official R website, which you can find at

  3. The download link can be found on the left-hand side of the page.

  4. The next option is for you to choose the location of the server that holds R. The best option is to choose the mirror that is geographically closest to you. For example, if you are based in the UK, then you might choose the mirror that is located in Bristol.

  5. Once you click on the link, there is a section at the top of the page called Download and Install R. There is a different link for each operating system. To download the Windows-specific version of R, there is a link that specifies Download R for Windows. When you click on it, the download links will appear on the next page to download R.

  6. On the next page, there are a number of options, but it is easier to select the option that specifies install R for the first time.

  7. Finally, there is an option at the top of the page that allows you to download the latest R installation package. The install package is wrapped up in an EXE file, and both 32 bit and 64 bit options are wrapped up in the same file.

    Now that R is downloaded, the next step is to install R. The instructions are given here:

  8. Double-click on the R executable file, and select the language. In this example, we will use English. Choose your preferred language, and click OK to proceed:

  9. The Welcome page will appear, and you should click Next to continue:

  10. The next item is the general license agreement. Click Next to continue:

  11. The next step is to specify the destination location for R's files. In this example, the default is selected. Once the destination has been selected, click Next to proceed:

  12. In the next step, the components of R are configured. If you have a 32-bit machine, then you will need to select the 32-bit option from the drop-down list.

  13. In the next screenshot, the 64-bit User Installation option has been selected:

  14. The next option is to customize the startup options. Here, the default is selected. Click Next to continue.

  15. The next option is to select the Start Menu folder configuration. Select the default, and click Next:

  16. Next, it's possible to configure some of R's options, such as the creation of a desktop icon. Here, let's choose the default options and click Next:

  17. In the next step, the R files are copied to the computer. This step should only take a few moments:

  18. Finally, R is installed, and you should receive a final window. Click Finish:

  19. Once completed, launch RGui from the shortcut, or you can locate RGui.exe from your installation path. The default path for Windows is C:\Program Files\R\R- 2.15.1\bin\x64\Rgui.exe.

  20. Type help.start() at the R-Console prompt and press Enter. If you can see the help server page then you have successfully installed and configured your R package.