Displaying 4 results from an estimated 4 matches for "textlin".
Did you mean:
textline
2008 Aug 31
2
Help using ed [OT]
...ven possible to do it
that way using the (.)a command?
Thanks in advance
Thomas
code example that give a "no match". Fairly easy to read and understand
example 1:
-----------
for RFILE in $RLIST; do
ed - RFILE <<- EOF
H
/\[matching_text_1\]/a
This is the appended textline(s) for text1
.
/\[matching_text_2\]/a
This is the appended textline(s) for text2
.
w
q
EOF
done
Another example that solve the above problem. But this example become
very easy unreadable if the appended text is long and/or includes
linebreaks.
Example 2:
---------...
2004 Oct 20
7
Q about strsplit and regexp
Dear R-help,
This one is probably a piece of cake for regexp masters. I'd like to split
a character vector (for simplicity, say of length one for now) that contains
fields that are delimited by arbitrary number of white spaces (e.g., " a b
c "). How do I get the character vector that contain the fields? In the
example I gave, I've tried:
> strsplit(" a b c
2007 Jul 17
2
multiple rugs on a single plot
Hi
I could only find some discussion on this wrt lattice graphics (which I'm
not using). Apologies if I'm missing something obvious.
I'd like to produce 3 rug plots under a kernel density plot for a
population. The population is subdivided into 3 subpopulations, which I'd
like the rug plots to highlight. Naturally, when I do 3 rug plots, they all
plot over each other.
2005 Mar 29
4
slide show with R
Trying to use R to build an interactive "slide show", to be displayed on a
projector. The purpose of the presentation is to show how one could
construct a simple graph using R. It is meant as a general overview rather
than as detailed instruction.
For example, something like the following sequence of commands. At
lecture time, I want the interpreter to read these commands one at a