Yo Bantai!
Let's get started with R...
R studio is an IDE for R. It only provides an environment to work, the code, however, is run on R. So you have to download R along with R studio to get started.
This is how R Studio looks
R script: this is where you write your code
Console: your code will be run here
Environment: the variables you create will appear here
This is a multipurpose space: you can view your plots, list of files and packages and help documentation here
Key Features
There are shortcut keys for everything, from running code to getting to help. Try this shortcut out "ctrl + L"!
The fuzzy matching feature makes suggestions as you type even when you skip letters of the word eg. simply typing "insl" would suggest "install.packages()"
You can perform many operations such as loading your data or downloading a graph just by clicking and avoid typing code completely.
R script checks your code and flags syntax errors as you type
R markdown can be used for presenting and saving your code
You can choose a theme for a pleasing appearance of Rstudio
This is only the tip of the iceberg! Using R studio is fun and it makes life easy with all its cool features!
Excited to start coding? So am I, to teach you!!
Stay tuned for the next post about the basics of R programming...
Mumbai Slang:
Bantai, boss: friend
Comments