[R] how to send text output to its own window

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Mar 6 10:40:46 CET 2012



On 06.03.2012 10:37, Robert Kinley wrote:
> many thanks for the response.
>
> Rstudio seems to be a very clever&  robust tool and i suspect that if R
> can
> do it (ie send text output to its own window) then Rstudio would probably
> handle it.
>
> Can it be done in 'vanilla' R   ?


No, but you can sink() into another file, for example.


Uwe Ligges

>          cheers          Bob
>
>
>
>
>
>
> Uwe Ligges<ligges at statistik.tu-dortmund.de>
> 05/03/2012 18:39
>
> To
> Robert Kinley<kinley_robert at lilly.com>
> cc
> r-help at r-project.org
> Subject
> Re: [R] how to send text output to its own window
>
>
>
>
>
>
> Sounds like a question for the RStudion people?
>
> Uwe Ligges
>
>
>
>
> On 05.03.2012 12:35, Robert Kinley wrote:
>> platform:  R 2.14.2   -    Windows XP -  Rstudio
>>
>> When I use cat()  or print()  in a script, the output text is of course
>> mixed up with the lines of the script.
>>
>> I can  sink()  the output to a textfile and then play the file back at
> the
>> end of the script, but that's not really what I'm after.
>>
>> It would be nice if the lines of text output could appear in a separate
>> window,  in the same sort of way that you'd use  windows() for graphical
>> output.
>>
>> Apologies if I'm missing something obvious.
>>
>>           Bob Kinley
>>
>>
>>
>>
>>
>>
>>
>>
>>                 [[alternative HTML version deleted]]
>>
>> ______________________________________________
>> R-help at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>
>



More information about the R-help mailing list