Re: [R] Splitting printed output in Sweave

From: Andrew Robinson <A.Robinson_at_ms.unimelb.edu.au>
Date: Sat 11 Feb 2006 - 06:56:36 EST

Roger,

that's beautiful -- thanks!

Andrew

On Sat, February 11, 2006 5:58 am, Roger Bivand said:
> On Sat, 11 Feb 2006, Andrew Robinson wrote:
>
>> Dear R community,
>>
>> I'm trying to figure out if there is any way to split the printed output
>> of some commands, for example summary.lme, so that I can intersperse
>> comments in Sweave. I don't mind running the command numerous times and
>> masking various portions of the output, or saving the output as an
>> object
>> and printing it, but I can't figure out how to do either. Does anyone
>> have any suggestions?
>
> ?capture.output should help a good deal.
>
>>
>> Cheers
>>
>> Andrew
>>
>> Andrew Robinson
>> Senior Lecturer in Statistics Tel: +61-3-8344-9763
>> Department of Mathematics and Statistics Fax: +61-3-8344 4599
>> University of Melbourne, VIC 3010 Australia
>> Email: a.robinson@ms.unimelb.edu.au Website:
>> http://www.ms.unimelb.edu.au
>>
>> ______________________________________________
>> R-help@stat.math.ethz.ch mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide!
>> http://www.R-project.org/posting-guide.html
>>
>
> --
> Roger Bivand
> Economic Geography Section, Department of Economics, Norwegian School of
> Economics and Business Administration, Helleveien 30, N-5045 Bergen,
> Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43
> e-mail: Roger.Bivand@nhh.no
>
>

Andrew Robinson

Senior Lecturer in Statistics                       Tel: +61-3-8344-9763
Department of Mathematics and Statistics            Fax: +61-3-8344 4599
University of Melbourne, VIC 3010 Australia Email: a.robinson_at_ms.unimelb.edu.au Website: http://www.ms.unimelb.edu.au

R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Feb 11 07:00:37 2006

This archive was generated by hypermail 2.1.8 : Mon 13 Feb 2006 - 22:42:09 EST