Hello ALL:
I ran with success the following commands in R getting a file saved
------------------------------------------------------------------------------------
postscript()
postscript('~/data/st202/2003/lecture00/lecture00-graph-01.eps',
horizontal = FALSE, height = 6, pointsize = 10)
hist(trial.outcome.5, breaks = 5,
main = '1000 Replications of 5 Trials of a Coin Toss',
xlab = 'Frequency of a Tail')
------------------------------------------------------------------------------------
But when I try to include it within a LaTeX document, I get the
following complaint.
LaTeX document (trix.tex):
------------------------------------------------------------------------------------
\documentclass[11pt]{article}
\usepackage[pdftex]{graphicx,color}
\begin{document}
\includegraphics{lecture00-graph-01.eps}
\end{document}
------------------------------------------------------------------------------------
Which I try to compile with the command: pdflatex trix.tex
But then, I get this error:
------------------------------------------------------------------------------------
! LaTeX Error: Unknown graphics extension: .eps.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.5 \includegraphics{lecture00-graph-01.eps}
?
------------------------------------------------------------------------------------
Any suggestions?
Thanks,
ANDREW
______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help
- Re: [R] Getting graphs into LaTeX Andrew Criswell
- Re: [R] Getting graphs into LaTeX Ko-Kang Kevin Wang
- Re: [R] Getting graphs into LaTeX A.J. Rossini
- Re: [R] Getting graphs into LaTeX Peter Malewski
- [R] fptex link? Kenneth Cabrera
- Re: [R] fptex link? Frank E Harrell Jr
- Re: [R] Getting graphs into LaTeX Andrew Criswell
- Re: [R] Getting graphs into LaTeX Timur Elzhov
- Re: [R] Getting graphs into LaTeX Gwendolyn van Paasschen
