Skip main navigation

Setting up R with Weka

Eibe Frank demonstrates how to install R and link to it from Weka. Then you can invoke the MLRClassifier, or type R commands in a Weka console.

R is a powerful statistical programming system that contains data mining tools for classification, regression, and plotting data, some of them very advanced. Eibe Frank shows how to access these from Weka. To set this up you must install R and then install Weka’s RPlugin package, as this video demonstrates. Detailed instructions are given in the accompanying download (these slides do not appear in the video itself).

The setup used to be rather complicated, but current versions of Weka’s RPlugin package simplify it considerably. Thus you can skip parts of this video, as indicated on the screen. If you are already an R user, first delete the environment variables R_HOME, R_LIBS_USER, and PATH, because the RPlugin package now sets them for you.

This article is from the free online

Advanced Data Mining with Weka

Created by
FutureLearn - Learning For Life

Reach your personal and professional goals

Unlock access to hundreds of expert online courses and degrees from top universities and educators to gain accredited qualifications and professional CV-building certificates.

Join over 18 million learners to launch, switch or build upon your career, all at your own pace, across a wide range of topic areas.

Start Learning now