[R] qplot with many files (each one curve)

Jonas Stein news at jonasstein.de
Mon Sep 10 01:18:22 CEST 2012


Hi,

i would like to plot a few hundred .csv files. 
Each file contains one curve with x,y values to plot.

I have been searching for "gnu r read many files qplot" 
and similar words. I found for loops that use assign to generate 
one variable containing a dataframe.

When i uesed the classic "plot' command i could add 
the curves with something like

for... {
data<-read.csv....
points(data$x, data$y, col=myrainbow, type="l")
}

How would you solve it in ggplot?

Kind regards,

-- 
Jonas Stein <news at jonasstein.de>



More information about the R-help mailing list