[R] Extending a plot in a loop (With attachment)

2010-11-16 Thread Nasrin Pak
My problem is that I have a data set for every day of measurement in a seperate file and I want to plot one parameter of the data for all the days in one graph. I tried to use for loop but only the last data remains in the program memory, I don`t know how to plot each day`s data continusly after

Re: [R] Extending a plot in a loop (With attachment)

2010-11-16 Thread Peter Alspach
Message- From: r-help-boun...@r-project.org [mailto:r-help-boun...@r- project.org] On Behalf Of Nasrin Pak Sent: Wednesday, 17 November 2010 7:24 a.m. Cc: r-help@r-project.org Subject: [R] Extending a plot in a loop (With attachment) My problem is that I have a data set for every day

[R] Extending a plot in a loop

2010-11-10 Thread Nasrin Pak
My problem is that I have a data set for every day of measurement in a seperate file and I want to plot one parameter of the data for all the days in one graph. I tried to use for loop but only the last data remains in the program memory, I don`t know how to plot each day`s data continusly after

Re: [R] Extending a plot in a loop

2010-11-10 Thread Sebastian Gibb
Am Mittwoch, 10. November 2010, 19:22:38 schrieb Nasrin Pak: My problem is that I have a data set for every day of measurement in a seperate file and I want to plot one parameter of the data for all the days in one graph. I tried to use for loop but only the last data remains in the program

Re: [R] Extending a plot in a loop

2010-11-10 Thread jim holtman
If you want to read in all the files and then set the range so you can print a parameter from each one on a single chart, there is some information in the archives about how to do this. A brief outline is below (definitely untested) allFiles - lapply(fileList, read.table, header=TRUE, ... other