Please proceed in this way:

jpeg(filename = "Rplot%03d..jpg", width = 480, height = 480, pointsize = 12,
quality = 75, bg = "white")
plot(cdata)
dev.off()

You will get two files (Rplot001.jpg and Rplot002.jpg) in the home directory
where you have your R installed, without any additional interaction.

Regards,
Carlos.

-----Mensaje original-----
De: r-help-admin@stat.math.ethz.ch
[mailto:r-help-admin@stat.math.ethz.ch]En nombre de Mark Marques
Enviado el: jueves, 20 de febrero de 2003 17:36
Para: R-help Mailing list.
Asunto: [R] ClustPlots part3


I am using the library(cluster), and (mva)
Clustering function clara()

sometihng like this:

cdata <- clara(vdata,6)
plot(cdata)
savePlot(filename="c:\\clara1",type=c("png"),2)

But for my surprise the after the plot I get :

   "Hit <Return> to see next plot:"
if i do something like :
   plot(cdata,3)

I get:
  Make a plot selection (or 0 to exit):

  1:plot  All
  2:plot  Clusplot
  3:plot  Silhouette Plot
  Selection:

As   far   I   know  calling  plot  is using clusPlot() by reading the
"clara" object.
How can I avoid that interaction ?

Thanks in advance

______________________________________________
R-help@stat.math.ethz.ch mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help

###  This email has been checked for all known viruses by the
###  Firstnet anti-virus system - http://www.firstnet.net.uk
###  Please email fav@firstnet.net.uk for details.




_____
The information in this email is confidential and it may not be\ ... [[dropped]]


