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: [email protected] 
[mailto:[email protected]] En nombre de David 
Ibarra Gómez
Enviado el: viernes, 21 de septiembre de 2012 11:13
Para: SHEN Fei; [email protected]
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: 
[email protected]<mailto:[email protected]>
 [mailto:[email protected]] En nombre de SHEN Fei
Enviado el: viernes, 21 de septiembre de 2012 11:05
Para: 
[email protected]<mailto:[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/

________________________________
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