From byron.ellis at gmail.com  Wed Jan  3 11:37:15 2007
From: byron.ellis at gmail.com (Byron Ellis)
Date: Wed, 3 Jan 2007 02:37:15 -0800
Subject: [Rd] How to execute R scripts simultaneously from multiple
	threads
In-Reply-To: <459B6DBA.3050207@erik.prutser.cx>
References: <459B6DBA.3050207@erik.prutser.cx>
Message-ID: <7098abec0701030237q3c56a59cx7b0428096d2a535a@mail.gmail.com>

Short Answer: There isn't one.

On 1/3/07, Erik van Zijst <r at erik.prutser.cx> wrote:
> Hi All,
>
> My problem is about parallel execution of R-scripts. My platform is linux.
>
> A program that is written in C needs to execute multiple R-scripts
> simultaneously. The C program makes use of multi-threading. Each thread
> must initiate the execution of one script. Performance is very important.
>
> Appearantly the R C-API does not provide a mechanism for parallel
> execution..
>
> It is preferred that the solution is not based on multi-processing (like
> C/S), because that would introduce IPC overhead.
>
> Hopefully some thread-safe (single-proces) solution is readily
> available, written in C.
>
> What is the best solution to do this?
>
> (If there is no single-process solution, what is the alternative?)
>
> Regards,
> Erik.
> --
> Shannon's Observation:
>         Nothing is so frustrating as a bad situation that is beginning to
>         improve.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>


-- 
Byron Ellis (byron.ellis at gmail.com)
"Oook" -- The Librarian



[Rd] How to execute R scripts simultaneously from multiple threads
Byron Ellis