"> Specifically if it is possible to ask R to run a given R-program > from withing a posix thread (on linux) without providing a Mutex that > would serialise access to R process. No. You need to make sure that only one thread calls R, which means having some sort of handler to queue the commands."