Steps needed to install the library used for the LDA model: 1. Install R http://cran.r-project.org/ 2. Install R packages: rJava and lda. The easiest way to do this is to launch R and then run the following two commands: install.packages("rJava") install.packages("lda") 3. Set up a few variables so that the plug-in can find R. Note that which you'll need to do will vary by your set up; in Windows I only had to do a and b, for instance. a. Append the location of the R library (R.dll in windows) to your PATH environmental variable. In windows, this path might be C:\Program Files\R\R-2.11.1\bin b. Set the R_USER enviromental variable to the location of your user R-files. If you installed the libraries in step 2 to your user directory, you'll need to set this variable; in windows it should probably point to your Documents directory. c. Add the location of the JRI dll to the java library path, by adding this option to the call to the Java run time: -Djava.library.path=C:\Program Files\R\R-2.11.1\library\rJava\jri d. Set the R_HOME environmental variable to point to the location of your R installation. In Windows, for example, this might be C:\Program Files\R\R-2.11.1