[Rprotobuf-yada] start to play with proto files
Romain François
francoisromain at free.fr
Thu Oct 29 15:27:26 CET 2009
This is too much fun ... and good excuse to learn some C++
I've commited some code in the readProtoFiles. Nothing too fancy for the
moment, just reading a proto file and grab some information from it:
$ r -lRProtoBuf -e "RProtoBuf:::readProtoFiles()"
<readProtoFile>
[1] "/tmp/person.proto"
importer.Import( '/tmp/person.proto' )
name = /tmp/person.proto
package = tutorial
number of top level message types = 2
0 : tutorial.Person
1 : tutorial.AddressBook
number of top level enum types = 0
</readProtoFile>
--
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30
http://romainfrancois.blog.free.fr
|- http://tr.im/BcPw : celebrating R commit #50000
|- http://tr.im/ztCu : RGG #158:161: examples of package IDPmisc
`- http://tr.im/yw8E : New R package : sos
More information about the Rprotobuf-yada
mailing list