Using the pagenum package
Abstract | R setup | Base graphics | Multiple figures with 'Draft' watermark | lattice with timestamp | ggplot2 with stamp at top right | Acknowledgements | References