topics enables users access to mallet in R through mallet in Java. So it’s important to install the R-package rJava, which requires that you download JAVA manually.

rJava installation

Please visit https://www.java.com for information on installing JAVA.