# 1. R plots in problem set # 1.1. Windows: (for MS Word) Ctrl+C and Ctrl+V "Save as" a pdf file # 1.2. Unix, mac # Save R plots as a pdf file pdf("loglin1.pdf",width=6.5,height=4.5) x <- exp(1+rnorm(50)) y <- exp(1 + .5*log(x) + rnorm(50)/100) plot(x,y) z <- lm(y~x) abline(z) dev.off() # Read the pdf file inside LaTex \begin{figure}[ht] \begin{center} \resizebox{!}{80mm}{\includegraphics{loglin1.pdf}} \end{center} \end{figure} 2) Latex slide (or perhaps beamer) \documentclass{slides} % for transparencies # Example \documentclass{slides} \usepackage[dvips]{color} \title{Making \LaTeX{} ``Slides''} \author{Albert.Ornstein@Colorado.EDU} \begin{document} \maketitle \documentclass{beamer} http://latex-beamer.sourceforge.net/ for download and more! 3) R can generate a Latex table for you