Skip to content

3 questions

4 messages · vasilis pappas, Dieter Menne, Adaikalavan Ramasamy +1 more

#
( condition ){ run function }
windows, every time the function
Try windows(). 
But better don't use it, R has much better tools to compare outputs; trellis' 
plots (?lattice) main use is to make nicely comparable output.

Dieter
#
Please learn to wrap your emails at about 72 characters. 

See below for other comments.
On Thu, 2004-12-16 at 08:29, vasilis pappas wrote:
This depends on what you mean by 'output'. If you mean graphs, then you
can use x11() if you have X Window systems or windows() if you are  in
Windows OS.

 windows()
 plot(1:10)
 windows()
 plot(rnorm(1000))

Or you could use the mfrow option in par() to split the plotting window

 par(mfrow=c(1,2)
 plot(1:10)
 plot(rnorm(1000))

If your output is not graphical, then you can save to a file and compare
them or save it to a list/matrix in R.
There is a function called mle.cp in the package wle. Not sure if this
does what you want.
#
Dear Vasilis,
. . .
You could remove the .onAttach() function from the package, which calls
Commander() to start the Rcmdr GUI. Because Commander() performs a variety
of initialisations, however, your function may not work properly in its
absence. It's not possible to know whether you'll run into problems without
knowing what you're using in the Rcmdr package. 

I hope that this helps,
 John

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario
Canada L8S 4M4
905-525-9140x23604
http://socserv.mcmaster.ca/jfox