R-alpha: misc 0.16

Kurt Hornik (Kurt.Hornik@ci.tuwien.ac.at)
Mon, 10 Feb 1997 06:56:09 +0100


Date: Mon, 10 Feb 1997 06:56:09 +0100
Message-Id: <199702100556.GAA09212@aragorn.ci.tuwien.ac.at>
From: Kurt Hornik <Kurt.Hornik@ci.tuwien.ac.at>
To: Paul Gilbert <la-jassine@aix.pacwan.net>
Subject: R-alpha: misc 0.16
In-Reply-To: <1356681177-6203791@aix.pacwan.net>

>>>>> On Sat, 08 Feb 1997 04:39:46 -0400,
>>>>> Paul Gilbert <la-jassine@aix.pacwan.net> said:

> Installation and help installation went fine on Linux-elf. Following
> are three errors(?)  in the new features of 0.16 and two older
> problems not yet fixed.

> ...

> R : Copyright 1997, Robert Gentleman and Ross Ihaka
> Version 0.16  (Released: February 7, 1997)

> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type "license()" for details.

>> old.par <- par()
>> par(old.par)
> Error: attempt to set invalid value for graphics parameter "lwd".

> This makes reseting parameters on.exit difficult.

This can be fixed by adding

	GP->lwd = 1;

to the code for GInit() in src/graphics/ginit.c, e.g. in the section
"Misc plotting parameters".   A patch is

*** src/graphics/ginit.c.orig	Sun Feb  9 00:13:48 1997
--- src/graphics/ginit.c	Sun Feb  9 00:14:18 1997
*************** void GInit()
*** 116,121 ****
--- 116,122 ----
  	/* Misc plotting parameters */
  	GP->new = 0;
  	GP->pty = 'm';
+ 	GP->lwd = 1;
  
  	/* Data window */
  	GP->usr[0] = 0.0;

-k
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-