[R] function in order to plot the same graph to postscript and pdf

Ronny Klein ronny.klein at wiwi.uni-halle.de
Wed Mar 9 15:24:48 CET 2005


> What are the myplot objects? Expressions or graphical objects that are
> printed?

The myplot is something like this:

plot(x)
text(foo)

etc.

> In any case, a good recommendation for this kind of stuff is to look at
> Sweave() in the utils package. I guess you're writing your thesis in
> LaTeX...and Sweave is a great possibility to mix LaTeX code and R code
> which for example generates both pdf and eps graphics.

Thanks, I will have a look on it.

Ronny




More information about the R-help mailing list