[R] Rscript: how to suppress all output

johannes rara johannesraja at gmail.com
Sat Jan 2 21:27:05 CET 2010


How can I suppress ALL output when running Rscript in Terminal?

~/Documents>Rscript test.r

I tried options --slave, --vanilla with no success. I get these

Loading required package: methods
..etc..

and other output as well.

-J

> sessionInfo()
R version 2.9.2 (2009-08-24)
i386-apple-darwin8.11.1

locale:
fi_FI.UTF-8/fi_FI.UTF-8/C/C/fi_FI.UTF-8/fi_FI.UTF-8

attached base packages:
[1] grid      splines   stats     graphics  grDevices utils
datasets  methods   base

other attached packages:
[1] ggplot2_0.8.3   reshape_0.8.3   plyr_0.1.9      proto_0.3-8
Hmisc_3.7-0     survival_2.35-7

loaded via a namespace (and not attached):
[1] cluster_1.12.1  lattice_0.17-26
>



More information about the R-help mailing list