search for: rf_allocnewx11devicedesc

Displaying 4 results from an estimated 4 matches for "rf_allocnewx11devicedesc".

2004 Jul 30
1
plot(x,y) core dump
...R-1.9.1 on AIX 5.2 under 2.9-aix51-020209, and xlf 7.1. In order to let R compile successfully under gcc 2.9, I have to change one C statement of file(RHOME//src/modules/X11/devX11.c) line 1768 from "retrun FALSE" to "retrun NULL", following is C code snapshot: newX11Desc * Rf_allocNewX11DeviceDesc(double ps) { newX11Desc *xd; /* allocate new device description */ if (!(xd = (newX11Desc*)calloc(1, sizeof(newX11Desc)))) return NULL; /* From here on, if we need to bail out with "error", */ /* then we must also free(xd). */ /* Font will lo...
2004 Aug 04
0
RE: Does tcltk matter for the plot
...ll [mailto:p.murrell at auckland.ac.nz] Sent: Monday, August 02, 2004 6:10 PM To: Liao, Kexiao Subject: Re: Does tcltk matter for the plot Hi Liao, Kexiao wrote: > Hi Paul, > I still change the statement "return FALSE;" to "return NULL" in > function newX11Desc * Rf_allocNewX11DeviceDesc(double ps) so that the > codes can be compiled. Most of the R codes can be compiled successfully. Right, sorry, that change also needed to be made. > However there is something incompatible with tcltk package on the AIX. I > wonder does that cause the problem of core dump when I try to...
2004 Jul 22
0
compile error on aix 5.2 using gcc 2.9-aix51-020209
...aix51-020209. During the compile process, there is an error message saying "return type mismatch in R_HOME/src/modules/X11/devX11.c line 1768. Following is the part of the C codes from file devX11.c /** This allocates an newX11Desc instance and sets its default values. */ newX11Desc * Rf_allocNewX11DeviceDesc(double ps) { newX11Desc *xd; /* allocate new device description */ if (!(xd = (newX11Desc*)calloc(1, sizeof(newX11Desc)))) return FALSE; It seems newX11Desc and FALSE is not the same data type. Can anybody give some help? Thanks Kexiao [[alternative HTML ve...
2004 Jul 30
0
plot() core dump
...R-1.9.1 on AIX 5.2 under 2.9-aix51-020209, and xlf 7.1. In order to let R compile successfully under gcc 2.9, I have to change one C statement of file(RHOME//src/modules/X11/devX11.c) line 1768 from "retrun FALSE" to "retrun NULL", following is C code snapshot: newX11Desc * Rf_allocNewX11DeviceDesc(double ps) { newX11Desc *xd; /* allocate new device description */ if (!(xd = (newX11Desc*)calloc(1, sizeof(newX11Desc)))) return NULL; /* From here on, if we need to bail out with "error", */ /* then we must also free(xd). */ /* Font will lo...