- Predictive Analytics Using Rattle and Qlik Sense
- Ferran Garcia Pagans
- 368字
- 2021-07-16 13:40:16
Installing the environment
In the examples, we'll use Rattle and Qlik Sense Desktop, but, as we've explained, Rattle is an R package and we need to install R too. We will follow these steps:
- Download and install R.
- Download and install Rattle.
- Download and install Qlik Sense Desktop.
Downloading and installing R
These steps must be followed for installing R:
- Go to the homepage of R Project for Statistical Computing at www.r-project.org.
- In the navigation bar, click on Comprehensive R Archive Network (CRAN) and you will be redirected to a list of CRAN mirrors. Choose a download mirror that is the closest to your geographic location, as shown here:
- You will reach a different page; choose Download R for Windows, and in the following page click on install R for the first time.
- Finally, you will reach the download page. As of writing this book, the latest version for Windows was 3.1.2. Click on Download R 3.1.2 for Windows to download the installation program, as shown in this screenshot:
- Run the installation program,
R-3.1.2-win.exe
, to start the process. Depending on the level of security of your system, it will ask you for permission to execute the program and to make modifications on your system. You have to allow this to start the process. - In the next step, you have to choose a language; choose English. For the rest of the installation process, leave the default options.
- When the installation process finishes, you will have two new icons on your desktop—R i386 3.1.2 and R x64 3.1.2; use the first one if you are using a 32-bit computer and the second one if you are using a 64-bit computer:
Starting the R Console to test your R installation
The R Console is a window used to interact with R language; you can type commands and functions here, and you will see the results in the same window. We will not focus on R, so we'll only learn the commands needed to work with Rattle.
The following steps are needed to start and close R Console:
- Double-click the R icon to start the R Console.
- To exit the R Console, type
q()
and press Enter, as shown here:
推薦閱讀
- 移動UI設(shè)計(微課版)
- 自己動手實(shí)現(xiàn)Lua:虛擬機(jī)、編譯器和標(biāo)準(zhǔn)庫
- Windows系統(tǒng)管理與服務(wù)配置
- 從程序員到架構(gòu)師:大數(shù)據(jù)量、緩存、高并發(fā)、微服務(wù)、多團(tuán)隊協(xié)同等核心場景實(shí)戰(zhàn)
- SQL for Data Analytics
- 深入理解Java7:核心技術(shù)與最佳實(shí)踐
- Python GUI Programming Cookbook
- 精通API架構(gòu):設(shè)計、運(yùn)維與演進(jìn)
- WebRTC技術(shù)詳解:從0到1構(gòu)建多人視頻會議系統(tǒng)
- Learning JavaScript Data Structures and Algorithms
- Learning OpenCV 3 Computer Vision with Python(Second Edition)
- Express Web Application Development
- Android系統(tǒng)級深入開發(fā)
- 批調(diào)度與網(wǎng)絡(luò)問題的組合算法
- 零基礎(chǔ)學(xué)編程系列(全5冊)