eps("foo.eps")
# is identical to
postscript("foo.eps", onefile=TRUE, horizontal=FALSE)
# and
dev.print(eps, "foo.eps")
# is identical to
dev.print(postscript, "foo.eps", onefile=TRUE, horizontal=FALSE, paper="special")
Run the code above in your browser using DataLab