[Rd] terrain.colors (PR#3233)

maechler at stat.math.ethz.ch maechler at stat.math.ethz.ch
Thu Jun 12 10:44:36 MEST 2003

>>>>> "d" == d a wooff <d.a.wooff at 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) (

    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 at 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			<><

More information about the R-devel mailing list