Wednesday, September 27, 2017

Geting started with R programming


I'm working on MAC so my tutorial will follow the steps I followed on my Macbook
Step 1: Download R

Step 2: Download RStudio
We need to download the RStudio Desktop version as we will be using it on our desktop like Python. 

Step 3: Try running R
Click on the R icon in the applications list

You will find the following window. This looks just like the Python Console if you're familiar with Python. So this is like the Python console window and RStudio would be like IDLE.
The first interesting thing to do is to rum some demos to see how everything runs. Since R is a functional language we can pass functions as arguments to other functions. So we can run the demo() function by calling the graphics and colors demos using commands demo(graphics) and demo(colors). 





Once playing with this we can test out RStudio which is like IDLE in python.



We have successfully installed R and RStudio and now we can start playing around with R. For that I'll be doing some more blog posts. Here is a nice link to get started with R



No comments:

Post a Comment