Command line clear R console screen

Under Linux console, you can always clear the R screen by command line cat(“\033[2J\033[H”) Note: This is not applicable to Rgui for Windows.

Published
Categorized as Default, R

Set fonts size in R plot

You probably have discovered that R usually gives you different size of fonts in different figures. That is because a numerical value (cex in par function) giving the amount by which plotting text and symbols is magnified relative to a default value. This starts as ‘1’ when a device is opened, and is reset when… Continue reading Set fonts size in R plot

Published
Categorized as Default, R