insert code base from 0.2-1 SVN branch from R-Forge