if (FALSE) {
# an example proto file
system.file( "proto", "addressbook.proto", package = "RProtoBuf" )
# create a message of type AddressBook, defined in the example proto file
demo( "addressbook", package = "RProtoBuf" )
# using R binary connections and files to read and write messages
demo( "io", package = "RProtoBuf" )
# more documentation in the vignette
vignette( "RProtoBuf", package = "RProtoBuf" )
}
Run the code above in your browser using DataLab