[R] Page eject and clearing the console

John Sorkin jsorkin at grecc.umaryland.edu
Tue Jan 4 19:19:35 CET 2011


I have received help on one of my questions (thank you Henrique Jorge
and ), viz. how I can clear the console from an R program. 
I have not yet received help on how I can skip to the top of the next
page, i.e. cat("\n") skips to the next line, is there an equivalent way
to skip to the top of the next page?
Thanks,
John




John David Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)>>>
Henrique Dallazuanna <wwwhsd at gmail.com> 1/4/2011 11:58 AM >>>
Take a look on:
http://tolstoy.newcastle.edu.au/R/e11/help/10/09/8463.html 

On Tue, Jan 4, 2011 at 2:54 PM, John Sorkin
<jsorkin at grecc.umaryland.edu>wrote:

> (1) I know that \n when used in cat, e.g. cat("\n") produces a line
feed
> (i.e. skips to the next line). Is there any escape sequence that will
go to
> the top of the next page?
> (2) I know that control L will clear the console. Is there an
equivalent
> function or other means that can be used in R code to clear the
console?
>
> Thanks,
> John
>
>
> John David Sorkin M.D., Ph.D.
> Chief, Biostatistics and Informatics
> University of Maryland School of Medicine Division of Gerontology
> Baltimore VA Medical Center
> 10 North Greene Street
> GRECC (BT/18/GR)
> Baltimore, MD 21201-1524
> (Phone) 410-605-7119
> (Fax) 410-605-7913 (Please call phone number above prior to faxing)
>
> Confidentiality Statement:
> This email message, including any attachments, is for\...{{dropped:25}}



More information about the R-help mailing list