[R] Importing many files from a single code
chuan_zl
chuan_zl at hotmail.com
Mon Mar 28 03:00:24 CEST 2011
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.
More information about the R-help
mailing list