Re: [R] Compare objects

From: Heinz Tuechler <tuechler_at_gmx.at>
Date: Sun, 09 Nov 2008 13:41:21 +0100

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()

Heinz

>______________________________________________
>R-help_at_r-project.org mailing list
>https://stat.ethz.ch/mailman/listinfo/r-help
>PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
>and provide commented, minimal, self-contained, reproducible code.



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Sun 09 Nov 2008 - 12:45:19 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 09 Nov 2008 - 13:30:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive