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]]
The first result of RSiteSearch("clear console") gives PBSmodelling::clearRcon() Ivan Le 9/15/2010 15:27, Ron Michael a écrit :> 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.-- Ivan CALANDRA PhD Student University of Hamburg Biozentrum Grindel und Zoologisches Museum Abt. Säugetiere Martin-Luther-King-Platz 3 D-20146 Hamburg, GERMANY +49(0)40 42838 6231 ivan.calandra@uni-hamburg.de ********** http://www.for771.uni-bonn.de http://webapp5.rrz.uni-hamburg.de/mammals/eng/mitarbeiter.php [[alternative HTML version deleted]]
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]]
Thanks everyone who have looked into my problem. In the mean time I already found one tip here http://onertipaday.blogspot.com/2007/05/how-to-clear-screen-in-r.html to do that. I am yet to try it...........perhaps it would solve me problem :) Thanks, --- On Wed, 15/9/10, Ron Michael <ron_michael70@yahoo.com> wrote: From: Ron Michael <ron_michael70@yahoo.com> Subject: [R] Keyword to clear the screen To: r-help@stat.math.ethz.ch Date: Wednesday, 15 September, 2010, 8:27 PM 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]] -----Inline Attachment Follows----- ______________________________________________ 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. [[alternative HTML version deleted]]