%Usage: library(tools);Sweave('sol2.nw'); pdflatex sol2
% or  : Sweave sol2; pdflatex sol2 (from Linux prompt)
\documentclass{article}
\usepackage{setspace,relsize}   % needed for latex(describe()), \code
\usepackage{moreverb}           % for verbatimtabinput
\usepackage[pdftex]{lscape}   % allows tables to be landscape when
\usepackage{longtable}
\usepackage{url}
\newcommand{\code}[1]{\texttt{\smaller #1}}
% \title{Cathy's Table}
% \author{Theresa A. Scott, MS}
\usepackage{/usr/lib/R/share/texmf/Sweave}
\begin{document}
% 
% \setkeys{Gin}{width=1.0\textwidth} % default is 0.8
% \maketitle

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% \section{Table}


% latex.default(tabledata, caption = "Diseases in Each Phase of Each Drug",      landscape = TRUE, file = "") 
%
\begin{landscape} \begin{table}[!tbp]
 \caption{Diseases in Each Phase of Each Drug\label{tabledata}} 
 \begin{center}
 \begin{tabular}{c | p{2in} | p{2in} | p{2in}}\hline\hline
\multicolumn{1}{c |}{\textbf{Drug}}&
\multicolumn{1}{c |}{\textbf{Phase I}}&
\multicolumn{1}{c |}{\textbf{Phase II}}&
\multicolumn{1}{c}{\textbf{Phase III}}
\\ \hline
A& & &Healthy Normal\\
\hline
B&Healthy Normal, Rheumatoid Arthritis&Rheumatoid Arthritis& \\
\hline
C&Osteoarthritis& & \\
\hline
D& &Depression&Healthy Normal\\
\hline
E&Venous Ulcers& & \\
\hline
F&Venous Ulcers& & \\
\hline
G&Healthy Normal&Anxiety&Depression\\
\hline
H& &Rheumatoid Arthritis& \\
\hline
I&Hypertension&Asthma& \\
\hline
J& &Osteoarthritis& \\
\hline
K&Asthma&Asthma&Chronic Pulmonary Disease\\
\hline
L& &Prostate cancer&Prostate cancer\\
\hline
M&Obsessive Compulsive Disorder&Obsessive Compulsive Disorder&ADHD\\
\hline
N& & &Diabetes\\
\hline
\end{tabular}

\end{center}

\end{table}

\end{landscape}
\end{document}




