basics of R Language

Introduction to basics of R Language

Introduction to basics of R Language


Expressions in R Language

Arithmetic Expression

basics of R Language

Assigning a String

basics of R Language

Multiplication in R

basics of R Language


Logical Values

basics of R Language

basics of R Language

T and F are shorthand for TRUE and FALSE.

basics of R Language


Variables in R Language

Like other programming languages, in R also you can use variables to store values for later use.

basics of R Language

Now X has value 42. So try dividing X by 2.

basics of R Language

You can reassign any values in R at any time.

So assign value “Arr, matey” to X.

basics of R Language

Now print the value of R by typing its name in the console.

Now try assigning the TRUE logical value to x.

basics of R Language

In next tutorial we will read about Functions in R Language……

Leave a Reply