<div dir="ltr"><div>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.<br></div><div><br></div><div><div>test.proto: <a href="http://pastebin.com/0n4dcYV7">http://pastebin.com/0n4dcYV7</a></div>
<div>test.R: <a href="http://pastebin.com/1C3KBVqh">http://pastebin.com/1C3KBVqh</a><br></div><div><br></div><div>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).</div>
<div><br></div><div>I'd appreciate any advise that anyone might have.</div><div><br></div><div>Thanks,</div><div><br></div><div>Whitney </div><div><br></div><div><br></div></div></div>