I have done: library(Hmisc) mysetps <- function(f) {setps(filename=f, w=4.5)}
Now when I set about doing mysetps("a") blah mysetps("b") blah etc. Problem: I find that only one file "f.ps" gets created. My intent had been to create "a.ps", "b.ps", etc., all using the argument w=4.5 with the setps() function of Hmisc::setps. Just in case it was R being unhappy with one-letter variable names, as sometimes happens, I also replaced "f" with "file" and that didn't help. -- Ajay Shah Consultant [EMAIL PROTECTED] Department of Economic Affairs http://www.mayin.org/ajayshah Ministry of Finance, New Delhi ______________________________________________ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html