[Rcpp-devel] [ADVERTENCIA - Mail de procedencia sospechosa] Re: Serialize with RProtoBuf and deserialize with C++?

David Ibarra Gómez dibarra at aqualogy.net
Fri Sep 21 14:06:20 CEST 2012


I forgot to tell you that we also write/read message in C++ inside a Linux OS, and I also read/write serialized protocol buffers in Python/Lixux and in C#/Windows. And It works perfectly (as Dirk told you).

regards

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 David Ibarra Gómez
Enviado el: viernes, 21 de septiembre de 2012 11:13
Para: SHEN Fei; rcpp-devel at lists.r-forge.r-project.org
Asunto: [ADVERTENCIA - Mail de procedencia sospechosa] Re: [Rcpp-devel] Serialize with RProtoBuf and deserialize with C++?


------------------------------------------------------------------------------------

## ADVERTENCIA ##



Para obtener más información sobre la alerta de seguridad acceda al siguiente enlace



http://soportecorreo.agbar.es/DOC/eMail_Spoofing_Advertencia_v1_5.pdf

------------------------------------------------------------------------------------

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> [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<mailto: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/

________________________________
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/3f50ef16/attachment.html>


More information about the Rcpp-devel mailing list