[Rprotobuf-yada] added some methods

Romain Francois romain.francois at dbmail.com
Tue Nov 10 19:47:10 CET 2009


On 11/10/2009 06:54 PM, Dirk Eddelbuettel wrote:
>
> 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

I've added a bit more.

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