Friday, September 14, 2012

R data minding package , Rcmdr tutorial/setup guide

being using the RStudio for a while , RStudio is a great IDE for R programmers, you need remember all the function/parameters. For the c# programmers, RStudio is just like the Visual Studio which has a great support for intellisense, IDE. project workspace, Version control. Rcmdr is a great Visual GUI tools for data mining, even for  just plotting/graphics. here is one basic tutorial,

Install Rcmdr, basically just click RStudio or Any R IDE, or just R command, try install package ‘Rcmdr’
image

once done, you can run library(Rcmdr) to startup the IDE, you may be prompted to install some components , just click yes to GO.

image

once done, you will see a new IDE, Rcmdr which has more menus.
image

basically, you can use the Data menu to import data from external data sources, or load data in packages, and run some data processing, like convert numbers to factors, or get a subset data
after data was loaded, you can view/edit the data, also from the script window, you can see the genrated R script,
image

Now, let’s run some basic plotting, select Graphics menu,->histogram, you will be asked to chose the varible to plot based on existing dataset.
image

Click OK, the graphics will be shown on IDE hosted the R, here will be Rstudio for me.
image

you can click statistics to create one Model like LInear model, or do some dimentional analysis

one you get the model, you can click models to visualize it.
image

No comments:

 
Locations of visitors to this page