[R] Changing R opening message

Marc Schwartz marc_schwartz at me.com
Wed May 12 21:13:49 CEST 2010


On May 12, 2010, at 12:29 PM, gvrocha wrote:

> 
>  Hi,
> 
>  I am using some python code to execute small R code snippets.
>  I would like to save the messages output to the screen when R is executed.
>  However, I will just save the opening message a zillion times since many
> thousands of little snippets will be executed.
> 
>  Does anyone how to omit the opening message printed by R when it first
> opens?
>  In case, you don't know what opening message I am talking about, see
> example below.
> 
>  Best,
> 
>  G.
> 
> The opening message:
> "
> R version 2.8.1 (2008-12-22)
> Copyright (C) 2008 The R Foundation for Statistical Computing
> ISBN 3-900051-07-0
> 
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
> 
>  Natural language support but running in an English locale
> 
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
> 
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
> "

Use:

  R --quiet

See:

  http://cran.r-project.org/doc/manuals/R-intro.html#Invoking-R-from-the-command-line

for more information.

BTW, well past time to update your version of R...2.11.0 is current.

HTH,

Marc Schwartz



More information about the R-help mailing list