It's not world shattering but for the record the following is not true:

> -----Original Message-----
> From: John Fox [mailto:[EMAIL PROTECTED]
> (snip)
> In particular, although using with() is perhaps less ambiguous, it is 
> necessary to repeat it for each command.

You can group as many commands as you like, as in

> df <- data.frame(x=1:10, y=1:10)
> with(df, {print(x)
+ print(y)})
 [1]  1  2  3  4  5  6  7  8  9 10
 [1]  1  2  3  4  5  6  7  8  9 10  
 
Simon Fear 
Senior Statistician 
Syne qua non Ltd 
Tel: +44 (0) 1379 644449 
Fax: +44 (0) 1379 644445 
email: [EMAIL PROTECTED] 
web: http://www.synequanon.com 
  
Number of attachments included with this message: 0 
  
This message (and any associated files) is confidential and\...{{dropped}}

______________________________________________
[EMAIL PROTECTED] 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

Reply via email to