R language (download and install)

R PROGRAMMING LANGUAGE (DOWNLOAD, INSTALLATION AND BASICS) 
Dear Madam/Sir, you are kindly requested to install the R programming language which will be used, by the KNIME software platform, to practice the course topics. It is extremely important you realize that to know how to program the R language is not mandatory. However, you must have installed the R programming language on your pc.
Therefore, you must take the following steps:
1) Download the R programming language (Ver. 3.3.1 is mandatory, Additional information about which R release can be used will be given during classes)
2) To install the R programming language on you pc watch one of the following videos
a. ITALIAN (20 mins), it refers to older version than 3.3.1 but it works fine also for version 3.3.1
b. ENGLISH (5 mins), it refers to older version than 3.3.1 but it works fine also for version 3.3.1 (you can skip the part of the video related to R studio)
3) Check that your R programming language installation is correct
a. Run the R programming language
b. Download and run the following script (when the browser opens, move to the upper right corner and click over the “…”button, then click on the “Scarica” option (maybe Download for the English version of dropbox)). Open the downloaded script file, then copy and past its content to the R console, and press enter to run the instructions. 
c. Compare the output of step b) to the following 
4) Set the R programming language paths
a. It is assumed you use the Windows operating system and installed the R programming language using the path “C:\Program Files\R\R-3.3.1” (for mac and linux operating systems you must use the corresponding paths where you installed the R programming language)
b. Run the R programming language and execute the following command on the Console install.packages("rJava")
c. Perform the following steps
5) Check that KNIME properly uses the R programming language paths
a. Import the following KNIME’s workflow (To download follow the same procedure you used for 3b)
b. Run the imported workflow and compare to this file 
6) Read one of the following notes
a. ITALIAN Mineo (from cap 1 to 5) OR Muggeo and Ferrara (from cap 1 to 3).
b. ENGLISH Tutorial R


ADDITIONAL R PROGRAMMING REFERENCES

Note on copyright

All the best
Fabio Stella

Last modified: Saturday, 9 September 2017, 10:27 AM