Thanks Rolf, I used your solution in my original, actual function and it worked very fine and a much more sophisticated solution than what I originally came up with! Thanks to the other people who replied as well -- I know that the message said it was a "Note" rather than a "Warning", but it sounds ominously like a warning, and so a little part of me feels more secure now that I can avoid seeing it!
Cheers, Rob. ______________________________________________ [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 and provide commented, minimal, self-contained, reproducible code.

