tags:

views:

42

answers:

1

Hi,

I have a server client system where the server is a vc++ program and the client is in R. Can I use a shared memory between these two? with boost::interprocess at the vc++ end and R bigmemory at the R end?

the server and the client are on the same pc

+1  A: 

You get a very firm Maybe! for that.

The bigmemory package (or group of packages, these days) does use the mutexes from Boost -- see the synchronicity package that it builds upon. Why don't you start with a simple prototype of sharing a 100 x 2 matrix and see how far you get? Michael will probably be glad to help your further once you demonstrated some initial viability.

Dirk Eddelbuettel