Re: [R] simple script help

2011-11-16 Thread R. Michael Weylandt
Put pdf() before your loop and dev.off() after -- as it stands now, on each iteration you re-open the pdf and thereby wipe everything that was previously on it. For the axis, look at the axis() command if you want something detailed or the xaxt, xlab arguments to boxplot if its relatively simple.

[R] simple script help

2011-11-16 Thread Nathalie Conte
HI, I have subsetted a list of exons and put them in a vector exon_list > exon_list=levels(test5$V1) I want to loop using that vector to create a big pdf which will contain all my barplots and doing this I got only the last element in my exon_list plotted rather than all of them, I guess th