Hello, again. > > Yes ,It worked. So how can I insert it in my code? Please > Easily. Just replace your beginning of loop
for(n in 1:length(listfile)) by the for(...) above, and comment out the line h=listfile[n] since it's no longer needed. Rui Barradas -- View this message in context: http://r.789695.n4.nabble.com/Min-Max-tp4593065p4595243.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.