Closed takluyver closed 10 years ago
Now I'm a bit more familiar with the structure of R packages, I've added the necessary documentation and exports for these functions. R CMD check
also turned up a mistake in another doc file, which I fixed.
Any chance of getting this merged in the next few days? I'm going to be taking the IPython R kernel to a hackathon Karthik's hosting next week, and it would be good to move these functions out of my code before then.
Thanks! Do you think you'll have time to put a new release on CRAN soon? Is there anything I can help with to bring that about?
I'm on vacation right now, but I should be able to put it up when I get back (on April 1st or so).
Great, thanks. Enjoy your vacation!
Hi, I'm using rzmq to write an R kernel for IPython. I wrote these functions as part of the kernel, but I think they belong in rzmq. It may be more efficient to implement them in C++, but I'm even less familiar with C++ than R.
I find the API somewhat confusing - there are several
receive.*
functions without send counterparts, I'm not sure ifreceive.string
andsend.raw.string
are counterparts or not, and the serialize/unserialize parameters toreceive.socket
andsend.socket
seem to make the other send/receive methods unnecessary. For my purposes, I serialise the data as JSON before using rzmq, so I'm only interested in sending and receiving bytes/strings, but I'm happy to make the API more flexible if that makes sense.