If I want to plot a diagram to pdf it doesn't work. I only get an empty pdf page. Here is a small example.
> pdf("try.pdf")
> plot(x=c(1,2,4,2,5))
> dev.off()
I also tried the print() command. But with no luck:
> print(plot(x=c(1,2,4,2,5)))
NULL # <- is this an error?
My OS is Ubuntu 12.10 64bit. My R version is 2.15.2.
Other output formats are working (e.g. jpeg(), png()). It's the first time I'm using the pdf output in Ubuntu (I worked on Win before without problems).
Any help will be welcome.