<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=big5">
<META content="MSHTML 5.50.4522.1800" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=MingLiu size=2>Dear List,</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT> </DIV>
<DIV><FONT face=細明體 size=2>Suppose I want to do a demonstration with R, which I
will be showing a couple of different graphs (e.g. demo(graphics) ).
However I want R to run through each graphics automatically. I can achieve
this by changing the line in demo(graphics):</FONT></DIV>
<DIV><FONT face=MingLiu size=2> <FONT face=MingLiu>opar <-
par(ask = interactive()
&&<BR>
(.Device %in% c("X11", "GTK", "windows", "Macintosh")))</FONT></FONT></DIV>
<DIV><FONT face=MingLiu size=2>to</FONT></DIV>
<DIV><FONT face=MingLiu size=2> opar <- par(ask
= FALSE
&&<BR>
(.Device %in% c("X11", "GTK", "windows", "Macintosh")))</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT> </DIV>
<DIV><FONT face=細明體 size=2>However, I am not sure how I can delay the speed of
changing between graphs. In other words, as soon as R finish painting one
graph, it will start painting the next one immediately. What can I do to
make R wait for, say 5 seconds, before it start painting the next
graph?</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT> </DIV>
<DIV><FONT face=細明體 size=2>Thanks a lot,</FONT></DIV>
<DIV><FONT face=細明體 size=2></FONT> </DIV>
<DIV><FONT face=細明體 size=2>Ko-Kang Wang</FONT></DIV></BODY></HTML>