Displaying 4 results from an estimated 4 matches for "cliptext".
Did you mean:
fliptext
2006 Oct 17
2
plotting text with very small negative rotation hangs (PR#9301)
...er
than about 1e-8 (the example in plot.phylo
in the ape package triggers it, with a
srt value of -3e-15).
plot(0:1,0:1)
for (i in 1:10) {
cat(i,"\n")
text(0.5,0.5,"hello",srt=3D(-10^-i))
}
I have traced this a fair ways into
the C code -- I think it happens somewhere
in clipText -- but I'm not sure. Sorry not
to be able to provide a fix at the moment.
This is on Ubuntu 6.06, not sure whether
it affects other platforms or not ...
Ben Bolker
> version
_
platform i686-pc-linux-gnu
arch i686
os linux-gnu
system...
2002 Nov 24
1
gcc 3.2.1
...3.2.1 is out and avoids the warnings about -I/usr/local/include
shown by 3.1 and 3.2.
Unfortunately, it seems to generate invalid code on 32-bit Solaris 2.7.
(64-bit code via -m64 is OK.) On two separate installations
example(Bessel) crashes in graphics.c because dd is not being passed down
from clipText correctly. I don't think that is all, as compiling
graphics.c under gcc-3.2 leads to other errors elsewhere. So use gcc-3.2.1
with caution on Solaris.
--
Brian D. Ripley, ripley@stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University o...
2003 Feb 28
2
R Graphics Crash Problem
...=0xffbec850,
y1=0xffbec848, x2=0xffbec840,
y2=0xffbec838, coords=0, dd=0xd) at
graphics.c:2389
#2 0x00083e20 in clipRectCode (x0=1.393025351641106,
y0=0.44224368861108854,
x1=1.4574378883093166, y1=5.294888903103388e-315,
coords=-2017264452,
dd=0xd) at graphics.c:3354
#3 0x000849ac in clipText (x=1.393025351641106,
y=0.44224368861108854,
str=0xa3d618 "2", rot=0, clipToDevice=1, hadj=0,
dd=0xa21758)
at graphics.c:3606
#4 0x00084e14 in Rf_GText (x=1.4252316199752113,
y=0.44224368861108854,
coords=1, str=0x0, xc=0.5, yc=0, rot=0,
dd=0xa21758) at graphics.c:3761
#5 0x...
2003 Oct 09
2
R-1.8.0 on Sparc Solaris 8, gcc3.2.1, bus error and core dump (PR#4485)
..., y1=0xffbed0d8, x2=0xffbed0d0,
y2=0xffbed0c8, coords=1298034561, dd=0xd) at graphics.c:2392
#2 0x0009524c in clipRectCode (x0=11.033191163604547, y0=6.0986887576552915,
x1=11.232635608048993, y1=5.3139879049022003e-315, coords=873873659,
dd=0xd) at graphics.c:3340
#3 0x00095dd8 in clipText (x=11.13291338582677, y=6.9477165354330692,
str=0xdb8f18 "help( Bessel )", rot=90, clipToDevice=1, hadj=1,
dd=0xd8e1a0) at graphics.c:3585
#4 0x00096240 in Rf_GText (x=11.13291338582677, y=6.9477165354330692,
coords=1, str=0x0, xc=1, yc=0, rot=90, dd=0xd8e1a0) at graphics....