Displaying 2 results from an estimated 2 matches for "inhibitdisplaylist".
2002 May 28
0
(PR#1605)When dev.list() is NULL, dev.control() causes core dump
...n applied to src/main/plot.c:
>
> PATCH BEGIN
> *** plot.c.orig Tue Dec 4 23:43:43 2001
> --- plot.c Sun May 26 11:06:25 2002
> ***************
> *** 52,58 ****
> SEXP do_devcontrol(SEXP call, SEXP op, SEXP args, SEXP env)
> {
> checkArity(op, args);
> ! inhibitDisplayList(CurrentDevice());
> return R_NilValue;
> }
>
> --- 52,60 ----
> SEXP do_devcontrol(SEXP call, SEXP op, SEXP args, SEXP env)
> {
> checkArity(op, args);
> ! if(!NoDevices()){
> ! inhibitDisplayList(CurrentDevice());
> ! }
> return R_N...
2003 Jul 07
0
feature enhancement request & patch: dev.control(displaylist='en (PR#3424)
...03-02-25 18:08:41.000000000 -0500=0A=
+++ R-patched-grw/src/main/plot.c 2003-07-07 11:47:16.000000000 =
-0400=0A=
@@ -51,9 +51,13 @@=0A=
=0A=
SEXP do_devcontrol(SEXP call, SEXP op, SEXP args, SEXP env)=0A=
{=0A=
+ int listFlag =3D LOGICAL(CAR(args))[0];=0A=
checkArity(op, args);=0A=
- inhibitDisplayList(CurrentDevice());=0A=
- return R_NilValue;=0A=
+ if(listFlag)=0A=
+ enableDisplayList(CurrentDevice());=0A=
+ else=0A=
+ inhibitDisplayList(CurrentDevice());=0A=
+ return ScalarLogical(listFlag);=0A=
}=0A=
=0A=
SEXP do_devcopy(SEXP call, SEXP op, SEXP args, SEXP env)=0A=
-...