s-news
[Top] [All Lists]

Re: Executing S-Plus scripts

To: "Brian Richards" <brichards@pharsight.com>
Subject: Re: Executing S-Plus scripts
From: "A.J. Rossini" <blindglobe@gmail.com>
Date: Thu, 13 Apr 2006 16:42:10 +0200
Cc: s-news@lists.biostat.wustl.edu
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=jQ2927UVKM6VTNbMrV4J8fqg+G1WRKiyekpmsaZgoGJEqpGsc9GWt4iXMmcLxoJ1b046AMPbDKZwnqhszIDu+uqKzjQDnQLdWmBNvGOpkZl99E3OJoluck8PGoCnxIayhBcSWAIC8Qjyums4pCESfdeiCdRXgWIjnPcobNo/8aE=
In-reply-to: <21C540C75778D84B905F7686B126E8A60548B5@nc-exchange.corp.pharsight.com>
References: <21C540C75778D84B905F7686B126E8A60548B5@nc-exchange.corp.pharsight.com>
Why not just use a "thread pool" of sorts to keep a few running "in
preparation"?   I've seen this done in the past with R, and it should
be possible (modulo licenses) to do with S-PLUS.

Both Java and Python provide some assistance with this approach, I'm
sure .Net would as well.

On 4/13/06, Brian Richards <brichards@pharsight.com> wrote:
>
> I'm investigating running S-PLUS scripts through a seperate application.
> Currently we are using command line invocation of splus.exe to accomplish
> this. But there seems to be alot of overhead with starting the process
> running it and producing results. I was wondering if anyone had any other
> ideas on how I could speed the execution time up. We don't need direct
> access to splus functions via the application. Simply want to run a script
> and read output from disk. We're using .Net. I looked into sconnect but it
> seems to maybe be a deeper level of integration than we require at this
> time.
>
> Optionally, if there is a way to start the engine and keep it running and
> then run scripts contiguously then shutdown the engine afterwards that would
> probably work too. In the future we'd like to be able to generate and read
> dataframes, within out .Net framework (managed code not just using the
> newest compiler to generate unmanaged code). I'm very green with S-Plus, and
> have looked through the archives but I could only find posts for compiling
> sconnect with VS .Net.
>
> Thanks
>
>
> Brian Richards


--
best,
-tony

blindglobe@gmail.com
Muttenz, Switzerland.
"Commit early,commit often, and commit in a repository from which we can easily
roll-back your mistakes" (AJR, 4Jan05).
<Prev in Thread] Current Thread [Next in Thread>