My blog has moved! Redirecting...

You should be automatically redirected. If not, visit and update your bookmarks.

Data Mining Research - Data Mining with R

I'm a Data Miner Collection (T-shirts, Mugs & Mousepads)

All benefits are given to a charity association.

Wednesday, September 17, 2008

Data Mining with R

There exists many solutions to implement your data mining algorithms: C/C++, Java, Matlab, R, etc. Any of these languages have their advantages and drawbacks. In this post, I will consider R, since it is the one I am using at my job. Here is a list of the reasons why R is a good choice for data mining:

  • It is fast (at least faster than Matlab)
  • It is completely free
  • Several data mining algorithms are available as packages (such as rpart)
  • It contains several libraries for graphics
A comprehensive document about using R for data mining has been written by Luis Torgo at University of Porto, Portugal. The document of 125 pages contains two case studies, one of which is in finance. It is thus a very good introduction for people using R for data mining.

R has also several drawbacks. Out of the lack of information regarding errors, the most important drawbacks are certainly the ones that concern the conception of its basic structures such as vector/matrix, incremental loop, etc. You can have details about R design flaws at Radford Neal's blog.

Sphere: Related Content


romain said...

I used R not so long ago for doing data-mining oriented study and found rattle:

Even though I prefer the interface of orange (, rattle combine the power of R and a simple interface which helps diving into the data...

Sandro Saitta said...

Thanks for sharing Romain. Personally, I write my R code with Tinn-R and execute it directly in the terminal (either Windows or Linux).

Anonymous said...

I'm glad to see you've found R :)


Sandro Saitta said...

After years of research using Matlab and Java, I eventually found R :-)

Anonymous said...

Is there any way to use R with another object-oriented programming language? That would be fun...

Shane Butler said...

Sandro Saitta said...

Thanks for the link Shane!

Steffen said...

Thanks for the links sandro. I am using R mainly for prototyping, and then prefer more "reliable" environments like RapidMiner to "freeze" my results.

@objectorientedprogramming: You can code objectoriented-style in R by using S4-classes. Since R is a scripting language, to many coders tend to define their own standards within their code, which makes the interaction of functions from different packages a real mess. S4 can reduce this mess.

just a few remarks


Clicky Web Analytics