From hpages at fhcrc.org  Mon Apr 20 23:07:06 2009
From: hpages at fhcrc.org (=?ISO-8859-1?Q?Herv=E9_Pag=E8s?=)
Date: Mon, 20 Apr 2009 14:07:06 -0700
Subject: [Rd] bug in classesToAM()
In-Reply-To: <49EA4F91.4010906@r-project.org>
References: <20090418005938.wqw7okho0skswcgs@webmail.fhcrc.org>
	<49EA4F91.4010906@r-project.org>
Message-ID: <49ECE3FA.1040509@fhcrc.org>

Thanks!  H.

John Chambers wrote:
> Yes, thanks.  Should be fixed now in r-devel and 2.9.0 patched.
> 
> John
> 
> 
> hpages at fhcrc.org wrote:
>> Hi,
>>
>> I can't get the non-abbreviated class names of the
>> rows and the cols of the Adjacency Matrix:
>>
>> setClass("ClassWithALongName")
>> setClass("SubclassOfClassWithALongName",
>>          contains="ClassWithALongName")
>>
>> Trying all possible values for 'abbreviate' (with R-2.9.0):
>>
>>> classesToAM("SubclassOfClassWithALongName", abbreviate=0)
>>      SubclassOfClassWithALongName ClassWithALongName
>> SOCW                            0                  1
>> CWAL                            0                  0
>>
>>> classesToAM("SubclassOfClassWithALongName", abbreviate=1)
>>                              SOCW CWAL
>> SubclassOfClassWithALongName    0    1
>> ClassWithALongName              0    0
>>
>>> classesToAM("SubclassOfClassWithALongName", abbreviate=2)
>>      SOCW CWAL
>> SOCW    0    1
>> CWAL    0    0
>>
>>> classesToAM("SubclassOfClassWithALongName", abbreviate=3)
>>                              SOCW CWAL
>> SubclassOfClassWithALongName    0    1
>> ClassWithALongName              0    0
>>
>> This does not reflect what the man page is saying: "values
>> 0, 1, 2, or 3 abbreviate neither, rows, columns or both".
>>
>> Cheers,
>> H.
>>
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>

-- 
Herv? Pag?s

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

E-mail: hpages at fhcrc.org
Phone:  (206) 667-5791
Fax:    (206) 667-1319



[Rd] bug in classesToAM()
=?ISO-8859-1?Q?Herv=E9_Pag=E8s?=