Should I cite R or RStudio?
RStudio is an IDE for R &mdash; essentially an editor and debugger packed together. Your work is made possible by statisticians who developed the language R and graphical packages for it. If you want to cite R in your publication, here is the explanation how to do it.