[R] Plotting multiple table automatically

KennyL kennylarsen at freshthinking.org.uk
Fri Feb 19 12:32:59 CET 2010


Hi All,

I have a slight issue getting R to plot a series of tables automatically.
Essentially I have a series of tables that I wish to plot. They are named
on_2, on_3 etc. based on the file name when they were read in. I have
filelist <- list.files() to give me list of the table names. I wish to plot
each table, so I was thinking along some kind of for loop as below:

for (i in 1:Number_Files) {
plot(filelist[1])
}

With a few other bits a pieces, however obviously this tries to plot the
character string in filelist, any ideas on how to get R to read the
identically named table and plot that?

Thanks,

Kenny
-- 
View this message in context: http://n4.nabble.com/Plotting-multiple-table-automatically-tp1561478p1561478.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list