[Rcpp-devel] Serialize with RProtoBuf and deserialize with C++?
David Ibarra Gómez
dibarra at aqualogy.net
Fri Sep 21 11:12:51 CEST 2012
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: rcpp-devel-bounces at lists.r-forge.r-project.org [mailto:rcpp-devel-bounces at lists.r-forge.r-project.org] En nombre de SHEN Fei
Enviado el: viernes, 21 de septiembre de 2012 11:05
Para: rcpp-devel at lists.r-forge.r-project.org
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/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20120921/3f006a07/attachment.html>
More information about the Rcpp-devel
mailing list