- Advanced Analytics with R and Tableau
- Jen Stirrup Ruben Oliva Ramos
- 298字
- 2021-07-02 20:26:03
Implementing the scripts for the book
Now that we have installed R and RStudio, we can download and install the scripts for this book. This book's scripts and code can be found on GitHub. If the reader hasn't got a free GitHub account, then it's recommended that Git and GitHub are set up. It's good practice for storing your own R scripts at a later date. If required, the reader is referred to the GitHub site for more details. GitHub itself can be found at github.com. Training material can be found at https://training.github.com/kit/.
After setting up Git and GitHub, you can download our data and scripts by taking a copy of this book's GitHub repository. Simply put, a fork is a copy of a repository, and it means that you can freely experiment with changes without affecting the original project. Please refer to the GitHub training material for more information on how to fork a repository, download data and scripts, and how to keep your local copy in sync with changes to the repository.
At the top right-hand corner of the page, click Fork. This means you have forked the repository. The next step is to download the files to your local computer. To do this, you can run the following line of code in your Git Bash:
Testing the scripting
Before we proceed, let's proceed to run a script to test that our setup works:
- Open the script in RStudio's script editor.
- Go to the Code menu item.
- Choose Source from the menu.
- Navigate to the
Packt
Tableau
and
R
Book
Setup.r
file. - Press Ctrl + A to select the whole script.
- In the script window, click Run.
- You should see the results in the output window.
- Java逍遙游記
- Docker進階與實戰(zhàn)
- JavaFX Essentials
- Linux網(wǎng)絡(luò)程序設(shè)計:基于龍芯平臺
- Mastering Swift 2
- 基于Swift語言的iOS App 商業(yè)實戰(zhàn)教程
- Hands-On Functional Programming with TypeScript
- 單片機應(yīng)用與調(diào)試項目教程(C語言版)
- Learning FuelPHP for Effective PHP Development
- Unity 2D Game Development Cookbook
- PHP+MySQL+Dreamweaver動態(tài)網(wǎng)站開發(fā)從入門到精通(第3版)
- Creating Mobile Apps with jQuery Mobile(Second Edition)
- Python+Tableau數(shù)據(jù)可視化之美
- C++程序設(shè)計教程
- Python預(yù)測之美:數(shù)據(jù)分析與算法實戰(zhàn)(雙色)