R scripts: comments updated.