alinit(nclnt=NULL,nds=NULL,bigmem=F)
cmdtoclnts(cmd)
cmdtosrvr(cmd)
cmdtoall(cmd)
go(ncon=2)
loadrdsm(nclnt,bigmem=F)Calling alinit() creates terminal windows for the server and
clients, runs Rin each of them, loads nclnt and nds must be
NULL, so there are two possibilities:
nclntspecifies the number of clients, all of which
run on the local machine, i.e.ndsspecifies the client nodesOne initializes the client/server connections by calling go().
The core of automated cmdtclnts(), cmdtosrvr(), cmdtoall(),
which send the given command to the clients and/or the server.
Here is a sample session, to run a function x() contained in the
source code file
alinit(2) # create 2 clients cmdtoclnts('source("y.R")') # have clients source the app code go() # set up server/client connections cmdtoclnts('x(3,100)') # first run of app cmdtoclnts('x(12,5000)') # second run of app ...
Note: Autolaunch uses the Unix screen -wipe and killing the associated processes.