[R] About lattice plots and loops

Uwe Ligges ligges at statistik.uni-dortmund.de
Thu Jul 15 09:35:13 CEST 2004


Jacques VESLOT wrote:

> I cannot operate lattice plots, notably those in package gstat, within for()
> loops.
> (I can neither read such graphics included in a .R (or .txt) file with the
> source() function).
> 
> However same commands executed one by one don't fail.
> 
> Could you please help me find a means to execute lattice plots inside a loop
> ?


I guess you forgot to print() those graphics.
Printing is done automatically if you are executing one by one in an 
interactive session, but not within loops or in batch mode.

Uwe Ligges


> 
> Jacques VESLOT
> CIRAD
> 
> 
> -----------------------------------------------------
> CIRAD 3P Reunion - MailScanner
> ----------------------------------------------------- 
> Ce message a été vérifié par MailScanner
> et analyse par 4 antivirus :
> ClamAv - BitDefender - F-Prot - Panda.
> 
> Aucun virus,ni rien de suspect n'a été trouvé.
> 
> This message has been scanned for viruses and
> dangerous content, and is believed to be clean.
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html




More information about the R-help mailing list