Hello,

                I use RInside. I also use protobufs direct in C++ (protoc).

I use serialize and deserialize methods to create files (persistent protobuf 
objects). I think that if Rprotobuf use the same methods (created by protoc) it 
should not be a problem at all.

Regards
David Ibarra

De: [email protected] 
[mailto:[email protected]] En nombre de SHEN Fei
Enviado el: viernes, 21 de septiembre de 2012 11:05
Para: [email protected]
Asunto: [Rcpp-devel] Serialize with RProtoBuf and deserialize with C++?

Dear all,

I have been doing some serialization work with RProtoBuf and that's very 
helpful and convenient.

My now question is, with the same .proto file, can i serialize some objects in 
R into a file, and deserialize them back into Rcpp objects in C++?

I know with the help of RInside, i can creat a R session in C++ and do the 
deserialization job, then convert them into C++.
But could i avoid using RInside? I mean using C++ to deserialize the file that 
has been serialize by RProtoBuf directly.

Best regards and thank you all~

--
SHEN Fei

________________________________
Disclaimer: http://disclaimer.aqualogy.net/
_______________________________________________
Rcpp-devel mailing list
[email protected]
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to