[R] How to generate same type of graphs using the previously written commands for a few hundred similar data sets?

2011-07-11 Thread Susie
I have a few hundred of data sets which are within one data file, I need to first of all take the subsets of each data set, and I've written commands to generate a graph and csv file. Then I want to generate the same type of graphs and csv files for the rest of the data sets. I wonder if there's a

[R] What's wrong with my code?

2011-07-12 Thread Susie
I've written out codes for one particular file, and now I want to generate the same kind of graphs and files for the rest of similar data files. When I plugged in these codes, R produced only one plot for the file "eight", and it states my error(see below) I have edited and checked my codes so man

[R] What's wrong with my code? (Edited version-added my data)

2011-07-12 Thread Susie
I've written out codes for one particular file, and now I want to generate the same kind of graphs and files for the rest of similar data files. For example, a file "8.csv" would look like such: enc_callee inout o_duration type A out 342 de B in 234 de C

Re: [R] What's wrong with my code? (Edited version-added my data)

2011-07-12 Thread Susie
Hey Josh, Thank you so much for the help! Now I have edited my codes--breaking into smaller pieces:) R does not state the error again:) However, the problem comes, please see my codes below-- You've suggested earlier that I should move the "eight" part outside the loop; I changed the "eight"