[Rprotobuf-yada] identical, ==, !=
    Romain François 
    francoisromain at free.fr
       
    Sat Nov 14 11:30:54 CET 2009
    
    
  
Hi,
I've added identical, == and != methods to compare two messages:
 > m1 <- new( tutorial.Person, email = "foo at bar.com", id = 2 )
 > m2 <- update( new( tutorial.Person) , email = "foo at bar.com", id = 2 )
 > identical( m1, m2 )
[1] TRUE
 > m1 == m2
[1] TRUE
 > m1 != m2
[1] FALSE
I need to also do all.equal at some point to allow less strict comparisons
Romain
-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/EAD5 : LondonR slides
|- http://tr.im/BcPw : celebrating R commit #50000
`- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
    
    
More information about the Rprotobuf-yada
mailing list