Re: [R] VERY TINY question: missing function to clear the console?

From: Jan T. Kim <>
Date: Thu 13 Jul 2006 - 21:15:55 EST

On Thu, Jul 13, 2006 at 12:47:09PM +0200, Hans-Joerg Bibiko wrote:
> Hi,
> for presentation purposes I would like to clear to whole console
> window (like in a UNIX terminal: 'clear').
> Is there such a function?
> If not, I could image that is not too hard to write such a function.

At the risk of this being a stupid answer: An easy way would be


This should work under unixes that provide the "clear" command, don't know about windows.

If there is no "clear screen" function in R (I haven't seriously looked for one), I think one of the reasons for that might be that writing that in a multi-platform portable way is actually a somewhat more laborious thing to do than it seems.

Best regards, Jan

 +- Jan T. Kim -------------------------------------------------------+
 |             email:                               |
 |             WWW:             |
 *-----=<  hierarchical systems are for files, not for humans  >=-----*

______________________________________________ mailing list
PLEASE do read the posting guide!
Received on Thu Jul 13 21:32:17 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 14 Jul 2006 - 00:15:06 EST.

Mailing list information is available at Please read the posting guide before posting to the list.