R is a scripted language used for conducting advanced data mining and statistical analysis on data. MicroStrategy has created a mechanism to tap into R and use to supplement its existing reporting functionality. It is not a simple integration and takes some trial and error to get it right.