Yes, like I said, you don't need to be subsetting h: h = listoffiles[n]
then later just use h Michael On Fri, Apr 27, 2012 at 2:22 PM, Jonsson <amen.alya...@bordeaux.inra.fr> wrote: > this is what happened with me:that when I get to the second element h[n] > becomes h[2] which > doesn't exist (h[1] obviously did). > Any suggestions > > -- > View this message in context: > http://r.789695.n4.nabble.com/Min-Max-tp4593065p4593402.html > Sent from the R help mailing list archive at Nabble.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. ______________________________________________ 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.