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]]
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.
On 3/5/2012 6:35 AM, 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.Examine the code in history to see how this is done, using a temporary file and file.show() -- Michael Friendly Email: friendly AT yorku DOT ca Professor, Psychology Dept. York University Voice: 416 736-5115 x66249 Fax: 416 736-5814 4700 Keele Street Web: http://www.datavis.ca Toronto, ONT M3J 1P3 CANADA