On May 21, 2012, at 05:25 , Duncan Murdoch wrote:
On 12-05-20 10:28 PM, Bert Gunter wrote:
Well, that's not very comforting, Duncan. It's like saying that you
have to read the engineering specs to drive the car successfully.
I think Robert's message that I responded to was asking for a
: William Dunlap; r-help
Subject: Re: [R] Names of Greek letters stored as character strings;plotmath.
On 21/05/12 10:53, Robert Baer wrote:
SNIP
This discussion has been exceedingly helpful, sort of.
Every time I try to do a task involving this I read the documentation
Yet again:Thank you Peter and Duncan. I appreciate your comments and insights.
I agree wholeheartedly with Peter's comments below about understanding
what a parsed expression is in R. In R -- and in functional
programming in general, I believe -- computing on the language is
extremely handy, even
-Original Message-
From: William Dunlap
Sent: Saturday, May 19, 2012 11:07 AM
To: Rolf Turner
Cc: r-help
Subject: Re: [R] Names of Greek letters stored as character
strings;plotmath.
parse(text=paste(...)) works in simple cases but not in others. The
fortune about it is there because
On 21/05/12 10:53, Robert Baer wrote:
SNIP
This discussion has been exceedingly helpful, sort of.
Every time I try to do a task involving this I read the documentation
for bquote(), expression(), plotmath(), etc., over and over, and I
still fail to get the big picture of how R parses
On 12-05-20 6:53 PM, Robert Baer wrote:
-Original Message-
From: William Dunlap
Sent: Saturday, May 19, 2012 11:07 AM
To: Rolf Turner
Cc: r-help
Subject: Re: [R] Names of Greek letters stored as character
strings;plotmath.
parse(text=paste(...)) works in simple cases but not in others
-
From: William Dunlap
Sent: Saturday, May 19, 2012 11:07 AM
To: Rolf Turner
Cc: r-help
Subject: Re: [R] Names of Greek letters stored as character
strings;plotmath.
parse(text=paste(...)) works in simple cases but not in others. The
fortune about it is there because it is tempting to use
at 5:00 PM, Duncan Murdoch
murdoch.dun...@gmail.com wrote:
On 12-05-20 6:53 PM, Robert Baer wrote:
-Original Message-
From: William Dunlap
Sent: Saturday, May 19, 2012 11:07 AM
To: Rolf Turner
Cc: r-help
Subject: Re: [R] Names of Greek letters stored as character
strings;plotmath
, Duncan Murdoch
murdoch.dun...@gmail.com wrote:
On 12-05-20 6:53 PM, Robert Baer wrote:
-Original Message-
From: William Dunlap
Sent: Saturday, May 19, 2012 11:07 AM
To: Rolf Turner
Cc: r-help
Subject: Re: [R] Names of Greek letters stored as character
strings;plotmath.
parse(text=paste
On Sat, May 19, 2012 at 1:18 AM, Rolf Turner rolf.tur...@xtra.co.nz wrote:
I had such good luck with my previous question to r-help, (a few minutes
ago) that I thought I would try again with the following query:
Suppose I have
xNm - gamma
I would like to be able to do
... and here is another incantation that may be informative.
xnm- as.name(gamma') ## This does the parsing
plot(0, xlab =bquote(.(xnm))
The initial puzzle is that if you just set
xnm - gamma
bquote will insert the string gamma rather than the symbol. After
all, that's what plotmath sees for
..and a final addendum:
xnm - quote(gamma)
## makes xnm the name gamma not the string gamma
plot(0,xlab = bquote( .(xnm))
-- Bert
On Sat, May 19, 2012 at 7:23 AM, Bert Gunter bgun...@gene.com wrote:
... and here is another incantation that may be informative.
xnm- as.name(gamma') ## This
Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf
Of Bert Gunter
Sent: Saturday, May 19, 2012 7:24 AM
To: Gabor Grothendieck
Cc: r-help
Subject: Re: [R] Names of Greek letters stored as character strings; plotmath.
... and here is another
-help
Subject: Re: [R] Names of Greek letters stored as character strings;
plotmath.
... and here is another incantation that may be informative.
xnm- as.name(gamma') ## This does the parsing
plot(0, xlab =bquote(.(xnm))
The initial puzzle is that if you just set
xnm - gamma
bquote
On Sat, May 19, 2012 at 2:16 PM, Paul Johnson pauljoh...@gmail.com wrote:
On Sat, May 19, 2012 at 11:07 AM, William Dunlap wdun...@tibco.com wrote:
parse(text=paste(...)) works in simple cases but not in others. The
fortune about it is there because it is tempting to use but if you bury it
in
the
difference.
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
-Original Message-
From: Paul Johnson [mailto:pauljoh...@gmail.com]
Sent: Saturday, May 19, 2012 11:16 AM
To: William Dunlap
Cc: r-help
Subject: Re: [R] Names of Greek letters stored as character strings; plotmath
Many thanks to Baptiste Auguie (off list), Bill Dunlap, Bert Gunter,
Gabor Grothendieck,
and Paul Johnson for their interesting and informative responses to my post.
The main item to note is that I was piling on unnecessary baggage by using
plot(1:10,xlab=
I had such good luck with my previous question to r-help, (a few minutes
ago) that I thought I would try again with the following query:
Suppose I have
xNm - gamma
I would like to be able to do
plot(1:10,xlab = something involving xNm)
and get the x axis label to be the Greek
18 matches
Mail list logo