Displaying 5 results from an estimated 5 matches for "textstr".
Did you mean:
teststr
2007 Jun 11
2
selecting characters from a line of text
Is there a way in R to select certain characters from a line of text? I
have some data that is presently in a large number of text files, and I
would like to be able to select elements of each text file (elements are
always on the same line, in the same position) and organize them into a
table. Is there a tool to select text in this way in R? What I am looking
for would be somewhat similar to
2006 Jun 04
1
text bubble (rectangle)?
...e width of the rectangle must
depend on the length and font of my string. is there a way to obtain
the lower left and upper right location of a text string that R drew?
(this would be good return values for the text() function, wouldn't
it?)
bubble.annotate <- function( x, y, xlid, ylid, textstring ) { HELP }
bubble.annotate( 19871010, 20, 19871019, 13, "Black Monday" );
[and thanks, gabor, for explaining the ifelse tricks with dates to me.]
regards,
/iaw
2008 Jun 25
0
Use plotmath expressions read from a text file in mtext/bquote
...adings <- list(stn=0,stn.name="",wqvar.name="",wqvar.axlab="")
ipf <- scan(par.file, ipf.headings,strip.white=T,comment.char="#")
Now, I would like to make a plot with a plotmath expression as the axis
title that looks something like this:
plot(1:10)
textstr <- ("EC"~(mu~S/cm))
mtext(bquote(.(textstr)),side=4)
Note that the mu should ideally be the greek character "mu" and EC is
electrical conductivity in milli Siemens per centimetre.
The trouble I am having is getting the axis label string (last line of
par.file) into R in a w...
2002 Nov 21
4
Mixing text and graphics in PDF
Is there an easy way to "sink" text output to a pdf file using the pdf()
device?
Here's an email that describes setting up empty graphics plots and then
using the "text" command to put text on page:
http://www.r-project.org/nocvs/mail/r-help/2002/5598.html
I'm just looking for something a little more polished -- automatic page
breaks, line wrapping, etc.
Kevin
2001 Oct 18
1
Fw: eval and as.symbol question
----- Original Message -----
From: "Kaspar Pflugshaupt" <pflugshaupt at geobot.umnw.ethz.ch>
To: "Gary Collins" <gco at eortc.be>
Cc: "r-help" <r-help at stat.math.ethz.ch>
Sent: Thursday, October 18, 2001 2:19 PM
Subject: Re: [R] eval and as.symbol question
> On 18.10.2001 13:46 Uhr, Gary Collins wrote:
>
> > But when I merge these