what is the difference between r and rstudio?
R is a programming language used for statistical computing while RStudio uses the R language to develop statistical programs. ... R and RStudio are not separate versions of the same program, and cannot be substituted for one another. R may be used without RStudio, but RStudio may not be used without R.