Sounds good.
Now, open
http://people.stat.sc.edu/taeho/teaching/lab/intro_to_r.html and read through the guidance.
This material will give you a brief introduction to RStudio.
You can always copy and paste the codes in the text-boxes into your RStudio to see what is going on there.
After following the exercises in the webpage, you can answer the questions 1-3 in part II easily.
For Question #4, you might need to think about it for a while and take a look at the Reference.
So, try those and let me know how it goes!