Dieter: I had considered creating a special class, but you are right that it was more than I (really) wanted to do. Setting the global digits option is an excellent suggestion. Thank you. Right now I am working with simple functions mostly to save myself a few steps.
Miguel: I did not use print() because I was under the (mistaken) impression that functions would only return the last expression evaluated or the contents of return(). So I thought if I used print() it would be ignored unless it came outside the function, and I did not want to create global objects. Also I used a list() just following the suggestion from the return help page, but I will look at named vectors also. So thank you for that idea too. Thanks again. Josh -- Joshua Wiley Senior in Psychology University of California, Riverside http://www.joshuawiley.com/ ______________________________________________ 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.