%--- This is used for the  ${RHOME}/etc/Rd2dvi  command :
\documentclass[a4paper]{book}
\usepackage{Rd2}
\usepackage{makeidx}

\makeindex

\begin{document}
\chapter*{\R\ documentation  \\ \ \hfill\large \today}
\input{Rd2}
\printindex
\end{document}
