Dear Ram Kumar Basent:
I suggest you restore you file is list. I give my example that I read 50 image by 50 folder. imgA<-list() <-create an empty list for(i in 1:50) <-how many file you need to looping. { imgA[[i]]<-read.jpeg(paste("c:/DataCentre/DataPisA/A",i,"FP3.jpg",sep=""))) } This is my example how I read 50 image in 50 folders. Hope this will hepl you. Best Wishes Chuan -- View this message in context: http://r.789695.n4.nabble.com/Importing-many-files-from-a-single-code-tp838084p3409909.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.