[R] smp in Linux

Vlad pvlad at bigfoot.com
Mon Aug 28 18:25:44 CEST 2000

I checked mail list archives and this topic came up before in March '99
(about ability of R to multithread).
At that time rossini at biostat.washington.edu (Tom Rossini)
suggested to check his web page in a few month as it was on
his list to-do.  I checked but the web page is not valid.

I wanted to know if in general progress has been made in the area,
or if it is planned.
I was also wondering if it is possible to use R from a C++ program.
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.
If R does not use any global variables /shared memory or
other global resources this would be possible -- else it will not be.

I am asking because for performance reason, I would like
to read and manipulate sample data in a multithreaded
C++ program, while living the stat. analysis for R.  (I  do not
want to format data, dump it in to a file and then read it back from R.
The disk (I/O) activities in such approach is too time consuming.  I
however use shared memory regions, if R allows to read data from there.)

Unrelated question: is the above possible with Splus v. 5?
(I did review the R FAQ but did not find this as one
of the differences)

Thanks in advance,

r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list