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 at fredhutch.org Phone: (206) 667-5791 Fax: (206) 667-1319
>>>>> 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: hpages at fredhutch.org > Phone: (206) 667-5791 > Fax: (206) 667-1319> ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel
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: hpages at fredhutch.org >> Phone: (206) 667-5791 >> Fax: (206) 667-1319 > >> ______________________________________________ >> R-devel at r-project.org 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: hpages at fredhutch.org Phone: (206) 667-5791 Fax: (206) 667-1319
Possibly Parallel Threads
- stopifnot() does not stop at first non-TRUE argument
- surprisingly, S4 classes with a "dim" or "dimnames" slot are final (in the Java sense)
- surprisingly, S4 classes with a "dim" or "dimnames" slot are final (in the Java sense)
- selectMethod() can fail to find methods in situations of multiple dispatch
- Subsetting the "ROW"s of an object