s-news
[Top] [All Lists]

Re: [S] dyn.load2() question

To: Fang Chen <fangc@stat.cmu.edu>
Subject: Re: [S] dyn.load2() question
From: rossini@biostat.washington.edu (A.J. Rossini)
Date: 24 Feb 2000 11:10:13 -0800
Cc: s-news@wubios.wustl.edu
In-reply-to: Fang Chen's message of "Thu, 24 Feb 2000 13:29:24 -0500 (EST)"
References: <Pine.HPP.4.10.10002241322080.27834-100000@desire.stat.cmu.edu>
Sender: owner-s-news@wubios.wustl.edu
User-agent: Gnus/5.0803 (Gnus v5.8.3) XEmacs/21.1 (Bryce Canyon)
>>>>> "FC" == Fang Chen <fangc@stat.cmu.edu> writes:

    FC> I have two computers in the network, the slower machine has
    FC> Splus and C installed on it and therefore I can use
    FC> dyn.load2() on that machine; the other machine is faster, but
    FC> it only has C with no Splus. My question is whether I can run
    FC> dyn.load2() on the slower machine but send the C part of the
    FC> program to the faster machine to speed things up even
    FC> more. Could someone please either provide a solution or
    FC> reference to this problem?

Sure you can do exactly what you want, but you won't like it...
(i.e. via CORBA, RPC, or other similar remote procedure/object calls).
Under Microsoft environments, replace RPC with DCOM, and the above
statement still holds...

Probably better would be to rewrite as a script, where Splus does part
of the computation, and then you remote copy/ remote shell over to the
faster machine to get it done, and copy the results back, slurp them
back into Splus, and continue on.

Another alternative would be R, depending on your
needs/program/operating system, since it might be able to be installed
on the faster machine (you didn't specify the OS).

#2 is probably the fastest implementation, #3 might be the cleanest,
and #1 would be a wonderful opportunity to study distributed
programming... 

best,
-tony

-- 
A.J. Rossini                   Research Assistant Professor of Biostatistics 
Biostatistics/Univ. of Washington  (Th) Box 357232   206-543-1044 (3286=fax)
Center for AIDS Research/HMC/UW   (M/F) Box 359931   206-731-3647 (3693=fax)
VTN/SCHARP/FHCRC                 (Tu/W) Box 358080   206-667-7025 (4812=fax)
rossini@(biostat.washington.edu|u.washington.edu|hivnet.fhcrc.org)
http://www.biostat.washington.edu/~rossini

-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu.  To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message:  unsubscribe s-news

<Prev in Thread] Current Thread [Next in Thread>