[Rprotobuf-yada] can't assign raw to field of type bytes

Whitney Jackson whjackson at gmail.com
Sat Dec 14 23:05:50 CET 2013


I've run into an issue where I can't assign raw values to RProtoBuf fields
of type bytes. See the following proto and R files for an example.

test.proto: http://pastebin.com/0n4dcYV7
test.R: http://pastebin.com/1C3KBVqh

>From what I can tell, only R character vectors of length 1 can be assigned
to bytes fields. That seems like a bug since protobuf bytes fields are
meant to hold arbitrary bytes and R character vectors aren't (null chars
are prohibited for example).

I'd appreciate any advise that anyone might have.

Thanks,

Whitney
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rprotobuf-yada/attachments/20131214/068e293f/attachment.html>


More information about the Rprotobuf-yada mailing list