Choose file where we have saved the csv file by below command with using the variable as employee
employee <- read.csv(file.choose(), header=TRUE, sep=”,”)
Create the bar chart with salary as parameter and width as of each bar as 5
barplot(as.integer(employee$salary),width = 5,names.arg = employee$name)
1. To download R go to link “https://cran.r-project.org/”
2.Select the OS version which you have to installed in you Machine.
3.Select the base option from Sub directory
4.Select the Downloaded R-3.2.2 for windows 32 or 64 bit version
5.select and start the installation process for R-3.3.2-win.exe
6.Select your preferable language
7.Click the next wizard –> license information –> enter the location where R tool to install.
8. select your component for R programming.
9.Click next for setting name for Start up
10.After clicking next Installation will be complete and you will get the icon in desktop