Question:
After using graphic devices, such as pdf(), png().... in R, nothing happened.
Screen Log:
--------------------------
pdf("foo.pdf")
plot(1:10)
dev.off()
null device
1
I'm guessing foo.pdf was created on your file system, in whatever directory
getwd() returns.
--------------------------
There should automatically pop-up a screen and shows the chart, but nothing
happened by using above code on my machine.
Do I misunderstanding anything???
I have tried the code under WINDOWS and LINUX and got the same result.
> plot(1:10)
is probably all you need to do. Why are you trying to create a pdf file?
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.