Skip to content
Prev 30487 / 398513 Next

system()

1) You didn't need to use unix() in S-PLUS.  Just

    cat("Finished with page", PAGENO, "\n")

which also works in R.

2) In R you could use

    system(paste("echo", "Finished with page", PAGENO))

this being a more standard way to produce output in Unix that creating a 
file and piping it to cat: but you could do that if you wanted to.
(That's exactly what unix(input="foo") does: list it to see.)
On Fri, 11 Apr 2003, Dennis Fisher wrote: