%
% NOTE -- ONLY EDIT .Rnw!!!
% .tex file will get overwritten.
%
%\VignetteIndexEntry{RbcBook1 Primer}
%\VignetteDepends{}
%\VignetteKeywords{Genomics}
%\VignettePackage{RbcBook1}
%
% NOTE -- ONLY EDIT THE .Rnw FILE!!!  The .tex file is
% likely to be overwritten.
%
\documentclass[12pt]{article}

\usepackage{amsmath,pstricks}
\usepackage[authoryear,round]{natbib}
\usepackage{hyperref}


\textwidth=6.2in
\textheight=8.5in
%\parskip=.3cm
\oddsidemargin=.1in
\evensidemargin=.1in
\headheight=-.3in

\newcommand{\scscst}{\scriptscriptstyle}
\newcommand{\scst}{\scriptstyle}


\newcommand{\Rfunction}[1]{{\texttt{#1}}}
\newcommand{\Robject}[1]{{\texttt{#1}}}
\newcommand{\Rpackage}[1]{{\textit{#1}}}
\newcommand{\Rmethod}[1]{{\texttt{#1}}}
\newcommand{\Rfunarg}[1]{{\texttt{#1}}}
\newcommand{\Rclass}[1]{{\textit{#1}}}

\textwidth=6.2in

\bibliographystyle{plainnat} 
 
\usepackage{/home/sfalcon/sw/R-devel/share/texmf/Sweave}
\begin{document}
%\setkeys{Gin}{width=0.55\textwidth}

\begin{Schunk}
\begin{Sinput}
> library(graph)
\end{Sinput}
\begin{Soutput}
Loading required package: cluster
Loading required package: Ruuid
Creating a new generic function for "print" in "Ruuid" 
Loading required package: Biobase
Welcome to Bioconductor 
	 Vignettes contain introductory material.  To view, 
	 simply type: openVignette() 
	 For details on reading vignettes, see
	 the openVignette help page.
\end{Soutput}
\begin{Sinput}
> library(RbcBook1)
> cache("bigran", randomGraph(paste("a", 1:50), 1:30, 
+     0.4))
\end{Sinput}
\begin{Soutput}
A graph with  undirected  edges
Number of Nodes = 50
Number of Edges = 1214
\end{Soutput}
\end{Schunk}
\end{document}
