To save a graph to an eps file, you can use the setEPS() function as follows:
setEPS()
postscript("whatever.eps")
plot(rnorm(100), main="Hey Some Data")
dev.off()
In ggplot2, you can use the ggsave() function as follows:
ggsave(file="name.eps")
The eps file will be saved in your current working directory.