s-news
[Top] [All Lists]

[S] Summary: Script outputs.

To: s-news@wubios.wustl.edu
Subject: [S] Summary: Script outputs.
From: "Gérald Jean" <Gerald.Jean@spgdag.ca>
Date: Wed, 22 Sep 1999 11:49:35 -0400
Sender: owner-s-news@wubios.wustl.edu
Thanks to Leonid Gibiansky, Mark Fowler, Jeff Jonston, Brian Ripley, Greg
Snow and Rolf Turner for giving me insights on running scripts.

Some think that assignments are committed as they occur in scripts, others
think they are committed only when the whole script runs successfully (and
they give good reasons for that).  The consensus though is that if we want
something committed no matter what we use either:

out1 <<- whateverfunction(whatever arguments, ...)

     or

out1 <- whateverfunction(whatever arguments, ...)
assign ('out1', out1, w = 1, immediate = T)

     or

out1 <- whateverfunction(whatever arguments, ...)
synchronize()

Thanks to all who responded,

Gérald Jean
Analyste-conseil (statistiques), Actuariat
télephone            : (418) 835-8839
télecopieur          : (418) 835-5865
courrier électronique: gerald.jean@spgdag.ca

"In God we trust all others must bring data"



-----------------------------------------------------------------------
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>
  • [S] Summary: Script outputs., G=E9rald_Jean <=