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. " -- View this message in context: http://r.789695.n4.nabble.com/Changing-R-opening-message-tp2196447p2196447.html Sent from the R help mailing list archive at Nabble.com.
Start R with "-q". On Wed, May 12, 2010 at 2:29 PM, gvrocha <gvrocha@gmail.com> 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. > " > -- > View this message in context: > http://r.789695.n4.nabble.com/Changing-R-opening-message-tp2196447p2196447.html > Sent from the R help mailing list archive at Nabble.com. > > ______________________________________________ > 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]]
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
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.See Appendix B (Invoking R) in "An Introduction to R" for the valid command-line options when starting R.