On Wed, 4 Jan 2012, David Winsemius wrote:
Nothing attached. I don't know what you entitled teh "compressed dput output" but it did not pass the filters of the mailserver and you did not copy me.
David, It must have been stripped off as too large (14K). Regardless, I solved the problem: The examples in the subset help page show only a single row criterion being used, but does not explicitly note that rows can be selected only one criterion at a time. Because the issue showed up only with the subset() function to extract rows with the parameter TDS, the problem had to be in that syntax. By changing the data frame argument to subset() from the overall chemdata to that of only a single stream, creation of the zoo object threw no errors and duplicated() returned zero rows. Wow! And I thought I understood the subset() syntax. I now do! Thanks to you, Gabor, and everyone else who responded to this thread, Rich ______________________________________________ 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.