Displaying 4 results from an estimated 4 matches for "x11_open".
2001 Feb 15
3
who frees dd and xd in X11_Open?
Hi, I'm not sure this is a bug in the code, the comment or my
thinking. So first try goes to r-devel... I find the following
comment in X11_Open () (src/unix/X11/devX11.c):
/* if we have to bail out with "error", then must free(dd) and free(xd) */
A couple lines down, there is:
if (!strncmp(dsp, "png::", 5)) {
FILE *fp;
#ifndef HAVE_PNG
error("No png support in this version of R");
#endif
if (!(fp = R...
2008 Apr 28
2
X11 window title setting in X11() Device (PR#11325)
...ow manager rules don't apply anymore.
I found a quick and dirty workaround which set the title immediately
after the window opening if the =C2=ABtitle=C2=BB option in X11.options() is
set. You will find the patch for devX11.c attached to this mail, it is
just two lines moved before the call to X11_Open.
Surely there could be something much better, but I am quite new to C
and X11 programming...
Here is my sessionInfo() :
,----
| R version 2.7.0 (2008-04-22)=20
| i486-pc-linux-gnu=20
|=20
| locale:
| LC_CTYPE=3Dfr_FR.UTF-8;LC_NUMERIC=3DC;LC_TIME=3Dfr_FR.UTF-8;LC_COLLATE=3D=
fr_FR.UTF-8;LC_MONETA...
2011 Mar 17
1
Segmentation fault when using "plot" function
...8765e5d6]
[ 4] /usr/lib64/libX11.so.6(_XlcUtf8Loader+0x10) [0x3c8767ebe0]
[ 5] /usr/lib64/libX11.so.6(_XOpenLC+0x104) [0x3c87665674]
[ 6] /usr/lib64/libX11.so.6(_XlcCurrentLC+0x8) [0x3c87665768]
[ 7] /usr/lib64/libX11.so.6(XSupportsLocale+0x9) [0x3c87665b59]
[ 8] /usr/lib64/R/modules//R_X11.so(X11_Open+0x51) [0x2aaab8a32581]
[ 9] /usr/lib64/R/modules//R_X11.so(X11DeviceDriver+0x19a) [0x2aaab8a336aa]
[10] /usr/lib64/R/modules//R_X11.so [0x2aaab8a33c30]
[11] /usr/lib64/R/lib/libR.so [0x3659cff75e]
[12] /usr/lib64/R/lib/libR.so(Rf_eval+0x427) [0x3659ccc2d7]
[13] /usr/lib64/R/lib/libR.so [0x3659...
2001 Feb 13
0
devX11.c -- questions about expose events and XBell
Hi, sorry for lumping this together... Both these issues are rather
small, and I'm not sure either qualifies as a bug...
1) After a window id created in X11_Open and mapped, you "gobble the
expose events". Not true, you gobble any event that comes along!
The code below fixes this by using *XCheckTypedEvent*. Hmm, I'm
not sure this right already, but better...
*** devX11.c~ Tue Feb 13 17:24:40 2001
--- devX11.c Tue Feb 13 18:...