Argument 'dim' misspelled in error message

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Argument 'dim' misspelled in error message

Hervé Pagès-2
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: [hidden email]
Phone:  (206) 667-5791
Fax:    (206) 667-1319

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: Argument 'dim' misspelled in error message

Kurt Hornik-5
>>>>> Hervé Pagès writes:

Thanks: fixed in the trunk with c75223.

Best
-k

> 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: [hidden email]
> Phone:  (206) 667-5791
> Fax:    (206) 667-1319

> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel
Reply | Threaded
Open this post in threaded view
|

Re: Argument 'dim' misspelled in error message

Hervé Pagès-2
Thanks!

On 09/01/2018 05:42 AM, Kurt Hornik wrote:

>>>>>> Hervé Pagès writes:
>
> Thanks: fixed in the trunk with c75223.
>
> Best
> -k
>
>> 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: [hidden email]
>> Phone:  (206) 667-5791
>> Fax:    (206) 667-1319
>
>> ______________________________________________
>> [hidden email] mailing list
>> https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Ddevel&d=DwIFAw&c=eRAMFD45gAfqt84VtBcfhQ&r=BK7q3XeAvimeWdGbWY_wJYbW0WYiZvSXAJJKaaPhzWA&m=SzMRc3M_TJEtaAqp-2nqiquGAjCH605Ocf2-jkPG_1E&s=1PeobGV2Ld7gOtIS5coLotgg3VLknDQyCXVjO08DbX4&e=

--
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: [hidden email]
Phone:  (206) 667-5791
Fax:    (206) 667-1319

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel