Re: [Rd] How can C++ read the R object written into socket with saveRDS or save

2013-06-28 Thread Rong lI Li
Hi, all, Many thanks for your suggestions/infos! For my previous question: "how to get the size of R object, so that the C++ process can know exact bytes to read, and receive the R objectvia socket connection", for now, I used the following way to achieve this. It worked for me. Pls feel free t

Re: [Rd] How can C++ read the R object written into socket with saveRDS or save

2013-06-26 Thread Simon Urbanek
On Jun 25, 2013, at 11:52 AM, Rong lI Li wrote: > > Hi, all, > > Recently, I met one issue when using socket between R & C++ to transmit R > object. Would you pls help give me some suggestions? Many thanks! > > [Background]: > I create a socket connection between R & C++ binary first, and then,