First R Program

Let us run our first R program, wherein a string and number will be displayed. We will also play around with numbers and perform Arithmetic operations:

100

"Amit Diwan"

100 * 5
100 - 5
100 / 5

Output

[1] 100
[1] "Amit Diwan"
[1] 500
[1] 95
[1] 20

If you liked the tutorial, spread the word and share the link and our website Studyopedia with others.


Read More:

R Programming Tutorial
R Comments
Studyopedia Editorial Staff
contact@studyopedia.com

We work to create programming tutorials for all.

1 Comment
  • MUHAMMAD
    Posted at 18:09h, 28 February Reply

    Superb and easy

Post A Comment