I want to write a function to plot a picture for each inputting file like
the following example.
plot_test <- function(f1,f2)
{
  plot_file(f1);
  plot_file(f2);
}

However, the above function just could plot two input file.
If the number of input file is not sure, it could be 2, 3 or more.
plot_test(f1, f2)
plot_test(f1, f2, f3) .... or more
I would like to run function, for instance "plot_file", for each input file.
How could I do?
Is there any solution like argv and argc in C to read arguments in R?

Thank you.

Jia-Ming

	[[alternative HTML version deleted]]

