Articles by Yanchang Zhao

R Tips: lots of tips for R programming

April 26, 2012 | Yanchang Zhao

by Yanchang Zhao, There are more than 100 R tips at, which provide quick examples to small challenges in everyday R programming, especially for users switching from other languages to R. There is also a .PDF version for … Continue reading → [Read more...]

Social Network Analysis with R

March 27, 2012 | Yanchang Zhao

By Yanchang Zhao, If you have tried social network analysis or graph mining with R, you might have already come across package igraph before. The package is designed for graphs and network analysis in R. It can handle large … Continue reading → [Read more...]

Call for chapters: Data Mining Applications with R

March 15, 2012 | Yanchang Zhao

Data Mining Applications with R A book to be published by Elsevier Proposal Submission Deadline: April 30, 2012 Introduction R is one of the most widely used data mining tools in scientific and business applications, among dozens of commercial … Continue reading → [Read more...]

A nice short article on memory in R

November 28, 2011 | Yanchang Zhao

There is a nice short article on memory issue in R at If you use R to process large data, you might find it helpful. It introduces: - checking how much memory an object is taking; - the memory … Continue reading → [Read more...]

Help: stemming and stem completion with package tm in R

November 3, 2011 | Yanchang Zhao

I came across a problem below when doing stemming and stem completion with package tm in R. Word “mining” was stemmed to “mine” with stemDocument(), and then completed to “miners”with stemCompletion(). However, I prefer to keep “mining” intact. For stemCompletion(), … Continue reading → [Read more...]

R Cookbook with examples

October 27, 2011 | Yanchang Zhao

An R Cookbook can be found at It is a short web document presenting dozens of examples on - Accessing Database with packages RSQLite, RMySQL, RdbiPgSQL and RODBC; - Reading and Writing Data; - Date/Time variable; - Graphics; - … Continue reading → [Read more...]

Interactive charts with googleVis package and R

October 4, 2011 | Yanchang Zhao

Examples at the link below illustrate interactive charts created with the googleVis package and R. Some amazing features are: a motion chart shows the changes over time, an AnnotatedTimeLine shows zoom-in/zoom-out view of time series, a TreeMap supports drill-down … Continue reading → [Read more...]

Datasets to Practice Your Data Mining

September 16, 2011 | Yanchang Zhao

There are many datasets available online for free for research use. Some of them are listed below. - The R Datasets Package: There are around 90 datasets available in the package. Most of them are small and easy to feed … Continue reading → [Read more...]

Slides of 10+ talks at R Users Groups

August 29, 2011 | Yanchang Zhao

Links to slides of 10+ talks at R Users Groups in Australia are provided below. Slides of the talks are downloadable at the links, including R codes if any. MelbURN: Melbourne Users of R Network: Experiences with using R in … Continue reading → [Read more...]

Examples on Clustering with R

August 25, 2011 | Yanchang Zhao

R code examples on various clustering techniques are available as “Clustering in R” in Chapter 4 of R & Bioconductor Manual by Thomas Girke, UC Riverside. It provides R examples on - Hierarchical Clustering, including tree cutting/coloring and heatmaps, - … Continue reading → [Read more...]

Time Series Analysis and Mining with R

August 23, 2011 | Yanchang Zhao

Time series data are widely seen in analytics. Some examples are stock indexes/prices, currency exchange rates and electrocardiogram (ECG). Traditional time series analysis focuses on smoothing, decomposition and forecasting, and there are many R functions and packages available for those … Continue reading → [Read more...]

R Code Examples on Graphics

August 16, 2011 | Yanchang Zhao

Some useful R code examples on  graphics are: Learn R Toolkit: It contains PowerPoint slideshows, videos, R scripts and data files to help Excel users move up to R. R code examples are provided for panel charts, conditional format, dot … Continue reading → [Read more...]
1 2 3 4

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)