[Rd] Argument 'dim' misspelled in error message

Hervé Pagès hp@ge@ @ending from fredhutch@org
Fri Aug 31 21:40:48 CEST 2018


Hi,

The following error message misspells the name of
the 'dim' argument:

   > array(integer(0), dim=integer(0))
   Error in array(integer(0), dim = integer(0)) :
     'dims' cannot be of length 0

The name of the argument is 'dim' not 'dims':

   > args(array)
   function (data = NA, dim = length(data), dimnames = NULL)
   NULL

Cheers,
H.

-- 
Hervé Pagès

Program in Computational Biology
Division of Public Health Sciences
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N, M1-B514
P.O. Box 19024
Seattle, WA 98109-1024

E-mail: hpages using fredhutch.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



More information about the R-devel mailing list