Try this (for windows):


clear <- function() {
    library(RDCOMClient)
    ws <- COMCreate("WScript.Shell")
    invisible(ws$SendKeys('^L'))
}

On Wed, Sep 15, 2010 at 10:27 AM, Ron Michael <ron_michael70@yahoo.com>wrote:

> Hi all, can anyone please tell me what is the key-word to clear the screen?
> I am aware of the "cont+L", however I need some R-syntax, that can be typed
> into the console to clear the screen.
>
> Thanks
>
>
>        [[alternative HTML version deleted]]
>
>
> ______________________________________________
> R-help@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.
>
>


-- 
Henrique Dallazuanna
Curitiba-Paraná-Brasil
25° 25' 40" S 49° 16' 22" O

	[[alternative HTML version deleted]]

