R-built html and pdf

svn path=/sandbox/; revision=83562