R Programming: 1. Introduction and installation

This this first tutorials about the R programming, we going to post all the tutorials about the R programming too.

R programming is used to gives the statistically data  modeling with textual and  graphically representation as a output with nice format. R provides a wide variety of statistical (linear and nonlinear modelling, classical statistical tests, time-series analysis, classification, clustering, …) and graphical techniques, and is highly extensible.

Here is the first step of start of R programming to to understand the basic syntax in R. You can practice more and more from the http://tryr.codeschool.com/ . 


Click on the official R programming site (http://www.r-project.org). Search for the Download section

Click “download R” to get the proper mirror. This should take you to a page something like bellow.

Choose the link for Iowa State University or any other mirror you like.

Choose your operating system. In the tutorial case it was selected Microsoft Windows.

Click “install R for the first time”.

Click on “download” to download the installer (for Windows ).

Click on “Save file” to save the installer to your computer.

Double click the .exe file for installation.

Click “Run” to start the installation. Follow the steps. Click next, accept agreement, select your installation folder and finish the installation.

Working on R

          Select the R application from your start menu. All coding style should be same what you practiced on R code school.

1. Get and set working directory


    1. List of commands

Here are some commands that you can use in your R script.

The characters after are considered comment
#this is a comment
Print a message to the console (like System.out.println in Java)
cat("Hello World!\n")
Execute a R script file previously created
Assign a value to a variable
one <- 1
Hello <- "Hello"
Download and install a package
Load a installed library to your R script

OBS: R is case sensitive, so Variable is different from variable.

Thank you !!!


  1. There are lots of information about hadoop have spread around the web, but this is a unique one according to me. The strategy you have updated here will make me to get to the next level in big data. Thanks for sharing this.Hadoop Training in Chennai | Big Data Training in Chennai

  2. Nowadays, most of the businesses rely on cloud based CRM tool to power their business process. They want to access the business from anywhere and anytime. In such scenarios, salesforce CRM will ensure massive advantage to the business owners. Cloud Computing Training in Chennai | Cloud Computing Courses

  3. Excellent post!!! The future of cloud computing is on positive side. With most of the companies integrate Salesforce CRM to power their business; there is massive demand for Salesforce developers and administrators across the world.Salesforce Training in Chennai | Salesforce Training Institutes in Chennai

  4. .Net is most preferred programming language among software developers all over the world. It is also considered as most trusted and effective platform to build high performing desktop or enterprise application. DOT NET Training Institutes in Chennai

  5. Thanks for the introduction about R programming language :)

    Android training|Android Training in Chennai

  6. .It's interesting that many of the bloggers to helped clarify a few things for me as well as giving.Most of ideas can be nice content.The people to give them a good shake to get your point and across the command.
    R Programming Online Training|
    SAS Online Training
    Tableau Online Training|

  7. Needed to compose you a very little word to thank you yet again regarding the nice suggestions you’ve contributed here. rprogramming training in bangalore

  8. I believe there are many more pleasurable opportunities ahead for individuals that looked at your site.
    datascience training in chennai