Skip to content

AW: [R-gui] Interfaces between GUIs and R

2 messages · TB, Philippe GROSJEAN

TB
#
Philippe,
Byron,
Please let me add some clarifications:

1. Concurrent kernels are also supported by R COM Server.
2. Concurrent evaluation of different expressions in different kernels
   is also supported, but one has to do the asynchronous processing by
   using different threads/processes in the application program. While
   on expression is evaluated, the COM server blocks. But the COM server
   does not restrict your client application to a single thread.
3. Different kernels on the same or on different machines can be utilized
   the same time by the COM server. I assume, this also holds true for
   SciViews.
Philippe, as we discussed in Vienna, this depends on the requirements and
is just where we are of different opinions. I prefer to have a
multi-threaded
client application, where I have full control over my parallel threads of
execution and don't want to take care of asynchronously running R kernels.

Best,
Thomas
#
Thomas Baier wrote:
We both agree. It is why I wrote "(*) A single threaded client..."
There are two different options for parallelization: in the client, or in
the server. It is nice to have both options available with:
- R COM server: if you want parallelization, you need to program it yourself
in your multithreaded client, and
- SciViews R Plug: everything is already coded in the server, you can use
single threaded client and still get parallelization, interruptible
evaluation, etc... but the interface with the server is necessarily more
complex.

* snip *

Best,

Philippe