[R] system()

Dennis Fisher fisher at plessthan.com
Sat Apr 12 06:24:10 CEST 2003


I am new to R but have used Splus for many years.  When I create many 
graphics in sequence in Splus/Linux, each time that I complete a 
page, I send a message to my command line interface using the 
following function:

FOOT <- function(PAGENO,TEXT)
         {
         mtext(outer=T, TEXT, side=1)
         unix("cat", c(paste("Finished with page", PAGENO)),FALSE, FALSE)
         }
PAGENO <- PAGENO + 1
FOOT(PAGENO,"Text")

In R, the corresponding function appears to be "system()".  I don't 
see how I can pass the PAGENO argument to "cat" in R.

Any advice?

-- 


Dennis M. Fisher, MD
The "P Less Than" Company
Toll-free phone:	1-866-PLessThan (1-866-753-7784)
Fax:		1-415 564-2220
Email:		fisher at PLessThan.com
Web:		www.PLessThan.com



More information about the R-help mailing list