Import of http://svn.r-project.org/R/trunk.