From maechler at stat.math.ethz.ch  Thu Jun 12 10:44:36 2003
From: maechler at stat.math.ethz.ch (maechler@stat.math.ethz.ch)
Date: Thu Jun 12 09:44:48 2003
Subject: [Rd] terrain.colors (PR#3233)
Message-ID: <200306120744.h5C7ia2b026003@pubhealth.ku.dk>

>>>>> "d" == d a wooff <d.a.wooff@durham.ac.uk>
>>>>>     on Wed, 11 Jun 2003 12:22:06 +0200 (MET DST) writes:

    d> Full_Name: David Wooff Version: 1.7.0 OS: i386-pc-mingw32
    d> Submission from: (NULL) (129.234.4.10)

    d> terrain.colors(1)

    d> returns an error message: Error in hsv(h,s,v,gamma):
    d> invalid argument length

Dear David,
thanks for the report.

The "deeper" reason is

  > hsv(numeric(0),numeric(0),numeric(0))
  Error in hsv(h, s, v, gamma) : invalid argument length

which should return  character(0) instead --- and soon will.


Martin Maechler <maechler@stat.math.ethz.ch>	http://stat.ethz.ch/~maechler/
Seminar fuer Statistik, ETH-Zentrum  LEO C16	Leonhardstr. 27
ETH (Federal Inst. Technology)	8092 Zurich	SWITZERLAND
phone: x-41-1-632-3408		fax: ...-1228			<><


[Rd] terrain.colors (PR#3233)
maechler@stat.math.ethz.ch