[R] list.files recursively to find files in a specific way...

2011-07-19 Thread JIA Pei
Hi, all: My folders are organized in such a way: root branch1 ---A ---file1.txt ---file2.txt ---B ---file1.txt ---file2.txt branch2 ---A ---file1.txt

Re: [R] Add coordinates at specific points...

2011-07-13 Thread JIA Pei
other? Cheers Pei On Wed, Jul 13, 2011 at 4:49 PM, David Winsemius wrote: > > On Jul 13, 2011, at 7:42 PM, JIA Pei wrote: > > >> >> >> Hi, Thanks David Winsemius: >> >> >> "mtext" works !! However, in R plot, "mtext" will aut

Re: [R] Add coordinates at specific points...

2011-07-13 Thread JIA Pei
l happened ever !! cheers Pei On Wed, Jul 13, 2011 at 1:41 PM, David Winsemius wrote: > > On Jul 13, 2011, at 1:22 PM, JIA Pei wrote: > > Hi, all: >> >> I used two lines of very simple code to draw a sin curve. >> >> dev.new(width = 640, height = 480) &

[R] Smart legend ???

2011-07-13 Thread JIA Pei
Hi, all: Is there an automatic smart legend for R? Since my R code is running in a row, which will produce a bunch of R plots in a single run, some of the produced plots are really "ridiculous". Because my legend is fixed to "topleft", sometimes, which occludes the key parts of the figure/plots, b

[R] Add coordinates at specific points...

2011-07-13 Thread JIA Pei
Hi, all: I used two lines of very simple code to draw a sin curve. dev.new(width = 640, height = 480) > plot(sin, -pi, 2*pi) Now, I added a specific line (red line in the picture at http://www.visionopen.com/Rplot.png) by using abline. However, I still love to add the X-coordinate "2.5" out