[R] Compare objects

Leon Yee yee.leon at gmail.com
Sun Nov 9 14:33:35 CET 2008


Peter Dalgaard wrote:
> Heinz Tuechler wrote:
>> At 13:26 09.11.2008, Leon Yee wrote:
>>> Hi, friends
>>>
>>>    Is there any functions for object comparing? For example, I have two
>>> list objects, and I want to know whether they are the same. Since the
>>> the components of list are not necessary atomic, this kind of comparison
>>> should be recursive. Does this kind of function exist?
>>>    Thank you for your help!
>>>
>>> Leon
>>
>> see maybe:
>> all.equal()
>> identical()
> 
> ...and don't miss the compare package described in issue 8/2 of R News.
> 

Hi Peter and Heinz

   Thank you very much for the help.

Regards,
Leon



More information about the R-help mailing list