I use this template for all my script files:

{ # start source code group (for pretty echoing)

# put your code in here

} # end source code group

If you have echo on, this makes all the code appear first in
the {} group, then all the output. With echo off, the code
is not echoed at all, and can be written directly to an
"output file" using sink. I suggest you check out ?source (see 
in particular the arguments echo and max.deparse.length) 
and ?sink.


> -----Original Message-----
> From: Yong Wang [mailto:[EMAIL PROTECTED]
> Sent: 11 October 2003 19:35
> To: [EMAIL PROTECTED]
> Subject: [R] how to seperate R's input and output screen?
> 
> 
> Security Warning:
> If you are not sure an attachment is safe to open please contact 
> Andy on x234. There are 0 attachments with this message.
> ________________________________________________________________
> 
> Dear all
> can anybady tell me how to seperate R's input and output screen?I mean
> just like SAS or some others, the commands does not mixed 
> with results.
> thank you
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>
 

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

Reply via email to