Before going ahead with further discussions about anything, isn't it good to know how that would look. You bet it is.
Here's how the RGui command line editor looks -
If you think its dull, well, looks could be deceiving. Just for a change, that white background can be changed to any other color, or that font color, size, etc. as well.
If this is too simple looking, there are other non command line interfaces too. The R Commander and Rattle are to name a few. These are available as packages. It they are not there by default, they can be installed by fetching from CRAN mirror sites or other repositories in some very simple steps.
To check if R Commander is already installed or not, type in the command line editor
To check if R Commander is already installed or not, type in the command line editor
library()
A window with the installed packages will show up within RGui. Search for Rcmdr or R Commander in this library list. If it is not there, then follow these steps
install.packages()
A window listed with all the available packages will open. Refer snapshot.
Search for Rcmdr in this list and click ok...and relax.
Rest all will be taken care of by RGui itself. If there are dependencies on other packages, it would automatically download those other few packages as well. Once downloaded, RGui will show this message
package ‘Rcmdr’ successfully unpacked and MD5 sums checked.
It will also show the same for all other dependency packages and return back to the R prompt. Now R is ready to launch the R Commander. Type
package ‘Rcmdr’ successfully unpacked and MD5 sums checked.
It will also show the same for all other dependency packages and return back to the R prompt. Now R is ready to launch the R Commander. Type
library(Rcmdr)
Wasn't that easy? But there is another approach too!
![]() |
| Load Packages |
Go to the RGui menu and click on Packages, click on Load Package. If the package is already installed, select the name (Rcmdr) and click ok.
If the package is not installed, go to RGui menu and click on Packages, click on Install Package(s)... A window with all available packages will show up. Select Rcmdr from the list, click ok and sit back. No typing, just click click click.
Ok, it's installed. What next? Don't we at least want to see how it looks? Sure! In the RGui command line editor, type -
library(Rcmdr)
and bingo! The R Commander shows itself.
Hey! Wasn't there something called the "Rattle"? Ahh! Installing is not much different. Instead of Rcmdr, use the term....what else..."rattle" of course. Remember, it has to be in small case.
There are two commands to type to load rattle
library(rattle)
This will show the below message -
Rattle: A free graphical interface for data mining with R.
Version 2.6.18 Copyright (c) 2006-2011 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.
Version 2.6.18 Copyright (c) 2006-2011 Togaware Pty Ltd.
Type 'rattle()' to shake, rattle, and roll your data.
Now, if you sure that you want to shake, rattle and roll your data, type
rattle()
And there you will have rattle, the R Data Miner screen up on your screen.
That's all for showing the faces of R and getting to interact with the R statistical tool. How to use them? Keep watching this space.


