1 postscript("file2.ps" , horizontal=FALSE , width=500 , height=500 , pointsize=1)
3 plot(c(1, 5, 10), type = "l")
9 for (j in 1:3) { cat("loop iteration: "); print(j); }
11 write("Some innocuous message on stdout\n", stdout())
13 write("Some innocuous message on stderr\n", stderr())
18 x <- 456 ; write.table(x, file="", row.names=FALSE, col.names=FALSE)