Creating Variables in R

In Programming languages, variable plays a very important role. Variables are used to store data values.

In R, we do not require any command for declaring variable. Variable can be easily created by using assignment operator <- .It is created the moment we assign a value to it. 


> name<-"abc"
> age<-30
> name


[1] "abc"
[1] 30