Skip to content

expression paste broken in r-devel?

3 messages · Duncan Murdoch, Hiroyuki Kawakatsu

#
Hi,

The following expression() is silently ignored in r-devel (r50697):

plot(1:10)
text(5, 5, expression(paste("foo ", alpha)))

Am I the only one having this problem? example(plotmath) runs but all
constructs of the form expression(paste()) do not show up in the
plots.

h.
#
On 10/12/2009 6:21 AM, Hiroyuki Kawakatsu wrote:
It's working for me in r50697 in Windows.  Please post sessionInfo, etc.

Duncan Murdoch
#
On Thu, Dec 10, 2009, Duncan Murdoch wrote:
hmmm. this is not working for me both in freeBSD
R version 2.11.0 Under development (unstable) (2009-12-10 r50698)
x86_64-unknown-freebsd9.0

locale:
[1] C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

loaded via a namespace (and not attached):
[1] tools_2.11.0

and debian
R version 2.11.0 Under development (unstable) (2009-12-10 r50697)
x86_64-unknown-linux-gnu

locale:
 [1] LC_CTYPE=en_GB.UTF-8       LC_NUMERIC=C
 [3] LC_TIME=en_GB.UTF-8        LC_COLLATE=en_GB.UTF-8
 [5] LC_MONETARY=C              LC_MESSAGES=en_GB.UTF-8
 [7] LC_PAPER=en_GB.UTF-8       LC_NAME=C
 [9] LC_ADDRESS=C               LC_TELEPHONE=C
[11] LC_MEASUREMENT=en_GB.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base