]> git.donarmstrong.com Git - cran2deb.git/commitdiff
first cut
authoredd <edd@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Mon, 22 Jun 2009 00:28:27 +0000 (00:28 +0000)
committeredd <edd@edb9625f-4e0d-4859-8d74-9fd3b1da38cb>
Mon, 22 Jun 2009 00:28:27 +0000 (00:28 +0000)
git-svn-id: svn://svn.r-forge.r-project.org/svnroot/cran2deb@253 edb9625f-4e0d-4859-8d74-9fd3b1da38cb

papers/useR2009/cran2deb.tex [new file with mode: 0644]
papers/useR2009/figures/Packages.pdf [new file with mode: 0644]
papers/useR2009/setup.tex [new file with mode: 0644]

diff --git a/papers/useR2009/cran2deb.tex b/papers/useR2009/cran2deb.tex
new file mode 100644 (file)
index 0000000..e7f066b
--- /dev/null
@@ -0,0 +1,238 @@
+
+%% add 'handout' option for handouts, and pgfpages for 2-on-1
+\documentclass[smaller,compress]{beamer}   
+%\usepackage{pgfpages}
+%\pgfpagesuselayout{2 on 1}[letterpaper,border shrink=5mm]
+%\pgfpagesuselayout{4 on 1}[letterpaper,border shrink=5mm]
+%\pgfpagesuselayout{2 on 1}[a4,border shrink=5mm]
+
+\include{setup}  %% has all definitions etc
+
+%\title[cran2deb: Automated CRAN to Debian packages generation]{cran2deb: A
+%  system to automatically provide 1700+ CRAN packages as Debian binaries} 
+\title[cran2deb: CRAN to Debian packages]{cran2deb: Automating CRAN to Debian packages generation} 
+
+%\subtitle{\textsl{Tutorial at R/Finance 2009}}
+\subject{UseR! 2009 Presentation}
+\author[Charles Blundell \and Dirk Eddelbuettel]{Charles Blundell\inst{1} \and Dirk Eddelbuettel\inst{2}}
+\institute[Gatsby \and Debian]{\inst{1}Gatsby Computational Neuroscience Unit
+  \\ University College London \and \inst{2}Debian / R Projects}
+\date[UseR! 2009]{Presentation at UseR! 2009 \\ Rennnes, France \\ July 2009}
+
+
+\begin{document}
+
+\begin{frame}
+  \titlepage
+\end{frame}
+
+\begin{frame}
+  \frametitle{Overview}
+  \tableofcontents
+\end{frame}
+
+\section[Why]{Why: Background and Motivation}
+\begin{frame}
+  \frametitle{About R -- and its repos}
+  \framesubtitle{An open statistical language / environment -- with lots of
+    excellent code contributions}
+
+  A few key facts that are non-controversial at a \textsl{useR!} conference:
+  \begin{itemize} 
+  \item \R\ is now a standard for statistical applications and research
+  \item \textit{``Success has many fathers''}: several key drivers can
+    be identified as to why \R\ has done so well 
+  \item We would like to stress \textsl{repos} and available packages here:
+    CRAN, as well as BioConductor and Omegahat.
+  \item CRAN has been one of the drivers: an open yet rigourously QA'ed
+    repostory which has experienced tremendous growth
+  \end{itemize}
+\end{frame}
+
+\begin{frame}
+  \frametitle{CRAN Packages} %% NB Or shall we merge this with the preceding slide?
+  \framesubtitle{Exponential Growth}
+
+  \begin{columns}
+    \begin{column}{3in}
+      \begin{figure}
+        \includegraphics[height=6cm,transparent]{figures/Packages}
+
+        \begin{scriptsize}
+          Source: Fox (2008, 2009), our calculations
+        \end{scriptsize}
+      \end{figure}
+    \end{column}
+    \begin{column}{2in}
+      \begin{itemize} 
+        \item CRAN archive network growing by 40\% p.a., now at around 1750 packages
+
+        \item John Fox provided this chart in an invited lecture at the last
+        \emph{useR!} meetings.
+      \end{itemize}
+    \end{column}
+    \begin{column}{0.25in}
+      \phantom{XX}
+    \end{column}
+  \end{columns}  
+\end{frame}
+
+\begin{frame}
+  \frametitle{Debian and Ubuntu} % NB Maybe skip this slide?
+  \framesubtitle{Open Linux distributions}
+
+  A few key points:
+  \begin{itemize} 
+  \item Debian is \textsl{the} community-driven Linux distribution where
+    numerous volunteers provide over twenty-thousand packages for around
+    a dozen architectures.
+  \item Packages and package management ``just work'': with arguably the most
+    advanced and robust package management system, and a tremendous
+    build and test infrastructure.
+  \item Ubuntu has taken Debian, added a fair amount of spit and polish, as
+    well as regular bi-annual releases, and has rapidly gained mind- and
+    well as market-share as the Linux distribution to beat.
+  \item Lastly, we note that the CRAN backend is also implemented on Debian.
+  \end{itemize}
+\end{frame}
+
+\begin{frame}
+  \frametitle{Why build Debian R packages?}
+  \framesubtitle{Combining R and Debian}
+  Bates, Eddelbuettel and Gebhard (UseR! 2004) listed a number of reason
+  that still hold:
+  \begin{itemize} 
+  \item \textbf{Dependencies} are resolved automatically: \textsl{it just
+      works}
+  \item \textbf{Convenience} of installing binary packages via
+    \texttt{apt-get} %is
+    %easier than building from source
+  \item \textbf{Quality control} as build daemons, automated rebuilds,
+    porting, ... all ensure that everything is pretty much buildable all the
+    time
+  \item \textbf{Scalability} as building one binary package and scripting
+    installation on a cluster beats doing lots of manual installations
+  \item \textbf{Common platform} as Debian forms the base for Ubuntu and
+    several other derivative or single-focus distributions
+  \item \textbf{Different architectures} ranging from small arm or mips based
+    systems to amd64, sparc64, hppa or even s390 mainframes
+  \item \textbf{Audience} given the reach of Debian and Ubuntu, large number
+    of users can be reached with little effort
+  \end{itemize}
+
+\end{frame}
+
+%\section{What is behind it?}
+\begin{frame}
+  \frametitle{So what is a Debian package?} % NB Maybe skip this?
+  \framesubtitle{And how do I build it?}
+
+  Building a Debian package is similar to using \texttt{R
+    CMD binary} etc:
+  \begin{itemize} 
+  \item Reads meta-information is read from the files in the debian/ directory
+    \begin{itemize} 
+    \item debian/control (similar to R's DESCRIPTION) lists names,
+      maintainers, build- and run-time dependencies
+    \item debian/copyright lists all author, license holders and copyright
+      statements 
+    \item debian/changelog provides current and past version numbers with a
+      list of  all changes in chronological fashion
+    \item debian/rules is a Makefile containing all steps to configure,
+      build, install, package-create and clean
+    \end{itemize}
+  \item Employs a number of external scripts and tools tie into this,
+  similar to what R has below \texttt{\$RHOME/share}
+  \end{itemize}
+\end{frame}
+
+
+\section[How]{How: Key aspects of the approach and implementation}
+\begin{frame}
+  \frametitle{Comparing two approaches}
+  \framesubtitle{What have we learned?}
+
+  Eddelbuettel, Vernazobres, Gebhard and M\"{o}ller (UseR 2007) presented a first
+  approach.
+
+  \MedSkip
+
+  \begin{columns}
+    \begin{column}{2in}
+      \textsl{Then}
+      \begin{itemize}
+      \item Top-down approach 
+      \item Monolithic and large Perl program 
+      \item Re-implementing chunks of what \R does in parsing archives
+      \item Not very robust
+      \end{itemize}
+    \end{column}      
+
+    \begin{column}{2in}
+      \textsl{Now}
+      \begin{itemize}
+      \item Bottom-up approach
+      \item Collection of \R and shell scripts, also lots of SQL
+      \item Re-using \R internal infrastructure as much as possible
+      \item Influenced by %Eddelbuettel's
+        \href{http://dirk.eddelbuettel.com/cranberries/}{CRANberries} and its
+        200 lines of \R code to monitor and summarize CRAN changes
+      \end{itemize}
+    \end{column}      
+  \end{columns}
+\end{frame}
+
+\begin{frame}
+  \frametitle{Technology Overview}
+  \framesubtitle{Charles: Can you fill something in here, if I haven't stolen
+    all nuggets on the previous slide?}
+
+\end{frame}
+
+\section[Status]{Status: Where are we now?}
+\begin{frame}
+  \frametitle{Current Status}
+  \framesubtitle{Ready for wider deployment and testing}
+
+  \begin{itemize}
+  \item Ground-work provided during Google Summer of Code 2008 under the
+    umbrella of the \R Foundation
+  \item Currently using a (small) Xen-instance on a server at WU Wien to host
+    two Debian pbuilder chroots and an archive
+  \item 1700+ packages for i386 and amd64 on Debian testing
+  \item In daily use for the last few weeks!
+  \end{itemize}
+
+  \MedSkip
+  Just add the following URL (with -amd64 for 64-bit) \newline 
+  { \SmallSkip \scriptsize
+    \texttt{deb http://xmcorsairs.wu.ac.at/cran2deb/debian-i386 testing/}
+  }
+
+\end{frame}
+
+\section{Open Issues}
+\begin{frame}
+  \frametitle{Question to be addressed}
+  \framesubtitle{These may not be showstoppers}
+
+  \begin{itemize}
+  \item What can or cannot be (re-)distributed by CRAN and its mirrors?
+  \item What can or cannot be used by all users?
+  \item Remaining external dependencies: 
+    \begin{itemize}
+      \item BioConductor is the single largest source: BioBase, RGraphviz, etc
+      \item Other external libraries or tools not in Debian 
+      \item Commercial external dependencies: SGE, LSF, Oracle, Vhayu
+    \end{itemize}
+  \item Builds for other architectures ?
+  \item Builds for other Debian flavours such as Ubuntu ?
+  \end{itemize}
+\end{frame}
+
+\end{document}
+
+%%% Local Variables: 
+%%% mode: latex
+%%% TeX-master: t
+%%% End: 
diff --git a/papers/useR2009/figures/Packages.pdf b/papers/useR2009/figures/Packages.pdf
new file mode 100644 (file)
index 0000000..78115bd
--- /dev/null
@@ -0,0 +1,449 @@
+%PDF-1.4
+%\81â\81ã\81Ï\81Ó\r
+1 0 obj
+<<
+/CreationDate (D:20090301161927)
+/ModDate (D:20090301161927)
+/Title (R Graphics Output)
+/Producer (R 2.9.0)
+/Creator (R)
+>>
+endobj
+2 0 obj
+<<
+/Type /Catalog
+/Pages 3 0 R
+>>
+endobj
+5 0 obj
+<<
+/Type /Page
+/Parent 3 0 R
+/Contents 6 0 R
+/Resources 4 0 R
+>>
+endobj
+6 0 obj
+<<
+/Length 7 0 R
+>>
+stream\r
+q
+Q q
+BT
+0.000 0.000 0.000 rg
+/F2 1 Tf 0.00 12.00 -12.00 0.00 12.96 199.15 Tm [(Number of CRAN P) 40 (ackages)] TJ
+ET
+Q q
+0.000 0.000 0.000 RG
+0.75 w
+[] 0 d
+1 J
+1 j
+10.00 M
+73.87 102.24 m 444.53 102.24 l S
+73.87 102.24 m 73.87 95.04 l S
+98.64 102.24 m 98.64 95.04 l S
+123.14 102.24 m 123.14 95.04 l S
+171.45 102.24 m 171.45 95.04 l S
+195.39 102.24 m 195.39 95.04 l S
+223.35 102.24 m 223.35 95.04 l S
+241.21 102.24 m 241.21 95.04 l S
+275.67 102.24 m 275.67 95.04 l S
+300.72 102.24 m 300.72 95.04 l S
+323.70 102.24 m 323.70 95.04 l S
+350.69 102.24 m 350.69 95.04 l S
+367.44 102.24 m 367.44 95.04 l S
+397.61 102.24 m 397.61 95.04 l S
+414.64 102.24 m 414.64 95.04 l S
+444.53 102.24 m 444.53 95.04 l S
+BT
+0.000 0.000 0.000 rg
+/F2 1 Tf 0.00 12.00 -12.00 0.00 78.17 20.45 Tm (2001-06-21) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 102.95 20.45 Tm (2001-12-17) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 127.45 20.45 Tm (2002-06-12) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 175.75 20.45 Tm (2003-05-27) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 199.70 20.45 Tm (2003-11-16) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 227.66 20.45 Tm (2004-06-05) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 245.51 20.45 Tm (2004-10-12) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 279.98 20.45 Tm (2005-06-18) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 305.03 20.45 Tm (2005-12-16) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 328.01 20.45 Tm (2006-05-31) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 355.00 20.45 Tm (2006-12-12) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 371.75 20.45 Tm (2007-04-12) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 401.92 20.45 Tm (2007-11-16) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 418.94 20.45 Tm (2008-03-18) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 448.84 20.45 Tm (2008-10-20) Tj
+ET
+59.04 103.84 m 59.04 433.71 l S
+59.04 103.84 m 51.84 103.84 l S
+59.04 184.54 m 51.84 184.54 l S
+59.04 231.75 m 51.84 231.75 l S
+59.04 265.25 m 51.84 265.25 l S
+59.04 291.23 m 51.84 291.23 l S
+59.04 312.45 m 51.84 312.45 l S
+59.04 345.95 m 51.84 345.95 l S
+59.04 371.93 m 51.84 371.93 l S
+59.04 393.16 m 51.84 393.16 l S
+59.04 411.11 m 51.84 411.11 l S
+59.04 433.71 m 51.84 433.71 l S
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 24.62 99.53 Tm (100) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 24.62 180.23 Tm (200) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 24.62 227.44 Tm (300) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 24.62 260.94 Tm (400) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 24.62 286.92 Tm (500) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 24.62 308.15 Tm (600) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 24.62 341.64 Tm (800) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 17.95 367.62 Tm (1000) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 17.95 388.85 Tm (1200) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 17.95 406.80 Tm (1400) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 17.95 429.41 Tm (1700) Tj
+ET
+73.87 444.96 m 444.53 444.96 l S
+73.87 444.96 m 73.87 452.16 l S
+98.64 444.96 m 98.64 452.16 l S
+123.14 444.96 m 123.14 452.16 l S
+171.45 444.96 m 171.45 452.16 l S
+195.39 444.96 m 195.39 452.16 l S
+223.35 444.96 m 223.35 452.16 l S
+241.21 444.96 m 241.21 452.16 l S
+275.67 444.96 m 275.67 452.16 l S
+300.72 444.96 m 300.72 452.16 l S
+323.70 444.96 m 323.70 452.16 l S
+350.69 444.96 m 350.69 452.16 l S
+367.44 444.96 m 367.44 452.16 l S
+397.61 444.96 m 397.61 452.16 l S
+414.64 444.96 m 414.64 452.16 l S
+444.53 444.96 m 444.53 452.16 l S
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 78.17 459.36 Tm (1.3) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 102.95 459.36 Tm (1.4) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 127.45 459.36 Tm (1.5) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 175.75 459.36 Tm (1.7) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 199.70 459.36 Tm (1.8) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 227.66 459.36 Tm (1.9) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 245.51 459.36 Tm (2.0) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 279.98 459.36 Tm (2.1) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 305.03 459.36 Tm (2.2) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 328.01 459.36 Tm (2.3) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 355.00 459.36 Tm (2.4) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 371.75 459.36 Tm (2.5) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 401.92 459.36 Tm (2.6) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 418.94 459.36 Tm (2.7) Tj
+ET
+BT
+/F2 1 Tf 0.00 12.00 -12.00 0.00 448.84 459.36 Tm (2.8) Tj
+ET
+459.36 114.93 m 459.36 432.27 l S
+459.36 114.93 m 466.56 114.93 l S
+459.36 133.48 m 466.56 133.48 l S
+459.36 160.01 m 466.56 160.01 l S
+459.36 195.11 m 466.56 195.11 l S
+459.36 220.77 m 466.56 220.77 l S
+459.36 252.00 m 466.56 252.00 l S
+459.36 266.98 m 466.56 266.98 l S
+459.36 301.90 m 466.56 301.90 l S
+459.36 321.24 m 466.56 321.24 l S
+459.36 336.72 m 466.56 336.72 l S
+459.36 361.08 m 466.56 361.08 l S
+459.36 371.93 m 466.56 371.93 l S
+459.36 402.48 m 466.56 402.48 l S
+459.36 413.33 m 466.56 413.33 l S
+459.36 432.27 m 466.56 432.27 l S
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 110.63 Tm (110) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 129.18 Tm (129) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 155.70 Tm (162) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 190.80 Tm (219) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 216.46 Tm (273) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 247.70 Tm (357) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 262.67 Tm (406) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 297.59 Tm (548) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 316.93 Tm (647) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 332.41 Tm (739) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 356.77 Tm (911) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 367.62 Tm (1000) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 398.17 Tm (1300) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 409.02 Tm (1427) Tj
+ET
+BT
+/F2 1 Tf 12.00 0.00 -0.00 12.00 473.76 427.96 Tm (1679) Tj
+ET
+59.04 102.24 m
+459.36 102.24 l
+459.36 444.96 l
+59.04 444.96 l
+59.04 102.24 l
+S
+Q q 59.04 102.24 400.32 342.72 re W n
+0.745 0.745 0.745 RG
+0.75 w
+[ 3.00 5.00] 0 d
+1 J
+1 j
+10.00 M
+59.04 114.93 m 459.36 114.93 l S
+59.04 133.48 m 459.36 133.48 l S
+59.04 160.01 m 459.36 160.01 l S
+59.04 195.11 m 459.36 195.11 l S
+59.04 220.77 m 459.36 220.77 l S
+59.04 252.00 m 459.36 252.00 l S
+59.04 266.98 m 459.36 266.98 l S
+59.04 301.90 m 459.36 301.90 l S
+59.04 321.24 m 459.36 321.24 l S
+59.04 336.72 m 459.36 336.72 l S
+59.04 361.08 m 459.36 361.08 l S
+59.04 371.93 m 459.36 371.93 l S
+59.04 402.48 m 459.36 402.48 l S
+59.04 413.33 m 459.36 413.33 l S
+59.04 432.27 m 459.36 432.27 l S
+73.87 102.24 m 73.87 444.96 l S
+98.64 102.24 m 98.64 444.96 l S
+123.14 102.24 m 123.14 444.96 l S
+171.45 102.24 m 171.45 444.96 l S
+195.39 102.24 m 195.39 444.96 l S
+223.35 102.24 m 223.35 444.96 l S
+241.21 102.24 m 241.21 444.96 l S
+275.67 102.24 m 275.67 444.96 l S
+300.72 102.24 m 300.72 444.96 l S
+323.70 102.24 m 323.70 444.96 l S
+350.69 102.24 m 350.69 444.96 l S
+367.44 102.24 m 367.44 444.96 l S
+397.61 102.24 m 397.61 444.96 l S
+414.64 102.24 m 414.64 444.96 l S
+444.53 102.24 m 444.53 444.96 l S
+0.031 0.318 0.612 RG
+0.75 w
+[] 0 d
+73.87 116.21 m
+98.64 137.97 l
+123.14 159.48 l
+171.45 201.89 l
+195.39 222.92 l
+223.35 247.46 l
+241.21 263.14 l
+275.67 293.40 l
+300.72 315.40 l
+323.70 335.57 l
+350.69 359.27 l
+367.44 373.97 l
+397.61 400.47 l
+414.64 415.41 l
+444.53 441.66 l
+S
+0.031 0.318 0.612 rg
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 69.42 111.04 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 94.20 129.59 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 118.70 156.11 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 167.00 191.21 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 190.95 216.88 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 218.91 248.11 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 236.76 263.09 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 271.23 298.01 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 296.28 317.34 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 319.26 332.82 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 346.25 357.19 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 363.00 368.04 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 393.17 398.59 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 410.19 409.44 Tm (l) Tj 0 Tr
+ET
+BT
+/F1 1 Tf 0 Tr 11.22 0 0 11.22 440.09 428.37 Tm (l) Tj 0 Tr
+ET
+Q
+endstream
+endobj
+7 0 obj
+8303
+endobj
+3 0 obj
+<<
+/Type /Pages
+/Kids [
+5 0 R
+]
+/Count 1
+/MediaBox [0 0 504 504]
+>>
+endobj
+4 0 obj
+<<
+/ProcSet [/PDF /Text]
+/Font << /F1 9 0 R /F2 10 0 R >>
+/ExtGState << >>
+>>
+endobj
+8 0 obj
+<<
+/Type /Encoding
+/BaseEncoding /WinAnsiEncoding
+/Differences [ 45/minus 96/quoteleft
+144/dotlessi /grave /acute /circumflex /tilde /macron /breve /dotaccent
+/dieresis /.notdef /ring /cedilla /.notdef /hungarumlaut /ogonek /caron /space]
+>>
+endobj
+9 0 obj
+<<
+/Type /Font
+/Subtype /Type1
+/Name /F1
+/BaseFont /ZapfDingbats
+>>
+endobj
+10 0 obj <<
+/Type /Font
+/Subtype /Type1
+/Name /F2
+/BaseFont /Helvetica
+/Encoding 8 0 R
+>> endobj
+xref
+0 11
+0000000000 65535 f 
+0000000021 00000 n 
+0000000163 00000 n 
+0000008668 00000 n 
+0000008751 00000 n 
+0000000212 00000 n 
+0000000292 00000 n 
+0000008648 00000 n 
+0000008844 00000 n 
+0000009101 00000 n 
+0000009184 00000 n 
+trailer
+<<
+/Size 11
+/Info 1 0 R
+/Root 2 0 R
+>>
+startxref
+9281
+%%EOF
diff --git a/papers/useR2009/setup.tex b/papers/useR2009/setup.tex
new file mode 100644 (file)
index 0000000..9cad747
--- /dev/null
@@ -0,0 +1,134 @@
+
+\mode<presentation>
+{
+  %\usetheme[secheader]{Madrid} % nice (once my coloroverrides are sorted out)
+  %\usetheme{AnnArbor} % nice! 
+  %\usetheme{Malmoe}   % nice! 
+  \usetheme{Warsaw}    % nice! 
+
+  %\usetheme[secheader]{Boadilla} % ok
+  %\usecolortheme{whale}
+  %\usecolortheme{orchid}
+}
+
+% Delete this, if you do not want the table of contents to pop up at
+% the beginning of each subsection (or section)
+% edd: Does not work in handout mode, and we have too many section/subsections
+%\AtBeginSection[]{%
+%  \begin{frame}<beamer>%
+%    %\tiny
+%    \frametitle{Outline}%
+%    \tableofcontents[currentsection]%
+%  \end{frame}
+%}
+
+
+% If you wish to uncover everything in a step-wise fashion, uncomment the following command: 
+%\beamerdefaultoverlayspecification{<+->}
+
+\newcommand{\MedSkip}{\medskip \par} % add \pause if desired 
+\newcommand{\SmallSkip}{\smallskip} % add \pause if desired 
+
+\usepackage[english]{babel}    % or whatever
+\usepackage[latin1]{inputenc}  % or whatever
+\usepackage{times}
+\usepackage[T1]{fontenc}       % Or whatever. Note that the encoding and the 
+                               % font should match. If T1 does not look
+                                % nice, try deleting the line with the fontenc.
+%\usepackage{highlight}
+
+\usepackage{listings}
+\lstset{ %
+  language=R,                   % choose the language of the code
+  basicstyle=\scriptsize,       % the size of the fonts that are used for the code
+  numbers=left,                 % where to put the line-numbers
+  numberstyle=\tiny,            % the size of the fonts that are used for the line-numbers
+  stepnumber=1,                 % the step between two line-numbers. If it's 1 each line will be numbered
+  numbersep=5pt,                % how far the line-numbers are from the code
+  backgroundcolor=\color{white},% choose the background color. You must add \usepackage{color}
+  showspaces=false,             % show spaces adding particular underscores
+  showstringspaces=false,       % underline spaces within strings
+  showtabs=false,               % show tabs within strings adding particular underscores
+  frame=single,                 % adds a frame around the code
+  tabsize=2,                    % sets default tabsize to 2 spaces
+  captionpos=b,                 % sets the caption-position to bottom
+  breaklines=true,              % sets automatic line breaking
+  breakatwhitespace=false,      % sets if automatic breaks should only happen at whitespace
+  escapeinside={\%*}{*)}        % if you want to add a comment within your code
+}
+
+\hypersetup{                           % beamer colors taken from elsewhere
+  hyperindex,%                         % works with the beetle colour scheme
+  colorlinks,%
+  linktocpage,%
+  plainpages=true,%
+  linkcolor=myOrange,%
+  citecolor=myDarkGrey,%
+  urlcolor=myDarkBlue,%
+  pdfstartview=Fit,%
+  pdfview={XYZ null null null}%
+}
+%\hypersetup{                                  % beamer colors taken from elsewhere
+%  hyperindex,%                                % works with the beetle colour scheme
+%  colorlinks%
+%  linktocpage,%
+%  plainpages=false,%
+%  linkcolor=eddBlue,%
+%  citecolor=eddDarkGrey,%
+%  urlcolor=eddDarkBlue,%
+%  pdfstartview=Fit,%
+%  pdfview={XYZ null null null}%
+%}
+
+\RequirePackage{color}
+\definecolor{Red}{rgb}{0.7,0,0}
+\definecolor{myOrange}{rgb}{0.8,0.5,0.0}
+\definecolor{myBlue}{rgb}{0.0,0.0,0.4}
+\definecolor{myDarkBlue}{rgb}{0.1,0.1,0.4}
+\definecolor{myDarkGrey}{rgb}{0.15,0.15,0.15}
+% Doug's
+\definecolor{Sinput}{rgb}{0,0,0.56}
+\definecolor{Scode}{rgb}{0,0,0.56}
+\definecolor{Soutput}{rgb}{0.56,0,0}
+% 
+\definecolor{Cmdinput}{rgb}{0,0,0.44}
+\definecolor{Cmdoutput}{rgb}{0.44,0,0}
+\definecolor{Cppinput}{rgb}{0.15,0.15,0.15}
+
+%% from Doug, but mod'ed \R to use hyperref
+\RequirePackage{fancyvrb}
+\RequirePackage{xspace}
+\RequirePackage{paralist}
+\newenvironment{Schunk}{\par\begin{minipage}{\textwidth}}{\end{minipage}}
+\DefineVerbatimEnvironment{Sinput}{Verbatim}{formatcom={\color{Sinput}},fontsize=\small}
+\DefineVerbatimEnvironment{Soutput}{Verbatim}{formatcom={\color{Soutput}},fontsize=\footnotesize}
+\DefineVerbatimEnvironment{Scode}{Verbatim}{formatcom={\color{Scode}},fontsize=\small}
+\DefineVerbatimEnvironment{Cmdinput}{Verbatim}{formatcom={\color{Cmdinput}},fontsize=\small}
+\DefineVerbatimEnvironment{Cmdoutput}{Verbatim}{formatcom={\color{Cmdoutput}},fontsize=\footnotesize}
+\DefineVerbatimEnvironment{Cppinput}{Verbatim}{formatcom={\color{Cppinput}},fontsize=\small}
+
+% -- not \small 
+\newcommand{\smallcode}[1]{{\color{Sinput}\small\texttt{#1}}}
+\newcommand{\code}[1]{{\color{Sinput}\texttt{#1}}}
+\newcommand{\Emph}[1]{\emph{\color{Scode}#1}}   
+%\newcommand{\R}{\href{http://www.r-project.org}{\Emph{R}\xspace}}   %% ? sing \emph upsets beamer inside \href
+\newcommand{\R}{\href{http://www.r-project.org}{\textsf{R}\xspace}}
+\newcommand{\Rns}{\href{http://www.r-project.org}{\textsf{R}}}
+
+% two old defintions
+%\newcommand{\code}[1]{\texttt{#1}}
+\newcommand{\screenshot}[1]{\centerline{\includegraphics[height=7.8cm,transparent]{#1}}}  % 7.8in
+
+
+% If you have a file called "university-logo-filename.xxx", where xxx
+% is a graphic format that can be processed by latex or pdflatex,
+% resp., then you can add a logo as follows:
+% NB transparent in Adobe but not in kpdf
+\pgfdeclareimage[height=0.6cm]{useR-logo}{figures/useR}
+\logo{\pgfuseimage{useR-logo}}
+
+
+%%% Local Variables: 
+%%% mode: latex
+%%% TeX-master: "introhighperfR"
+%%% End: