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

2013-06-25 Thread Dirk Eddelbuettel
On 25 June 2013 at 17:12, Prof Brian Ripley wrote: | On 25/06/2013 16:52, Rong lI Li wrote: | > I found actually, the saveRDS writes the R object with XDR format. I could | | It may do ... depending how you call it. You may prefer to serialize() | to a raw vector whose size you can find, and tr

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

2013-06-25 Thread Prof Brian Ripley
On 25/06/2013 16:52, 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! R-help was really the wrong list: see the posting guide. And multiple posting is really discouraged. B