[Rprotobuf-yada] added some methods

Dirk Eddelbuettel edd at debian.org
Tue Nov 10 18:54:56 CET 2009


On 10 November 2009 at 18:33, Romain François wrote:
| I've added some methods today to the R interface.
| 
| - clear : to clear a message, or a field of a message
| - swap : swap elements of a repeated field of a message
| - size : number of elements of a repeated field
| - [[ : which can index a message by field name or field tag number
| 
| and cleaned some of the mutator code : less copy and paste and slightly 
| more efficient (I think).
| 
| I see that the proto library contains some unit test, so I'll base ours 
| on it, at least I'll use the same messages, etc ...

Awesome on all count, but please do add to demo() as well so that's easy to
showcase what it can do.

Dirk

-- 
Three out of two people have difficulties with fractions.


More information about the Rprotobuf-yada mailing list