For agricultural researchers I recommend using RStudio for data analysis, as it is easy to use. RStudio allows users to develop and edit programs in R by supporting a large number of statistical packages, higher quality graphics, and the ability to manage your workspace. Before installing RStudio you need to install R. Follow the steps below to install R and RStudio.
How to Install R and Rstudio
First install R latest version
Then install Rstudio
R is available for downloading and installing for free, from the web page of The Comprehensive R Archive Network (click here)
The top of the web page provides three links for downloading R as shown below. Follow the link that describes your operating system: Windows, Mac, or Linux.
The link downloads an installer program, which installs the most up-to-date version of R for Windows. Run this program and step through the installation wizard that appears. The wizard will install R into your program files folders and place a shortcut in your Start menu.
Go to RStudio website click here
Select the free version of RStudio Desktop (shown below), click the Download button, and click on the link to the appropriate installer for your operating system (Windows, macOS, or Linux)
Download the .exe file and install RStudio in your computer.
Once RStudio is installed you are ready to move on. We will be using Rstudio to explain all our packages. If you are new to RStudio, let me introduce it to you, see RStudio