[Rd] --quiet flag sets echo option to TRUE (PR#1083)

a296180@mica.fmr.com a296180@mica.fmr.com
Fri, 31 Aug 2001 19:08:33 +0200 (MET DST)


The help for options says:

    echo: logical.  Only used in non-interactive mode, when it controls
          whether input is echoed. Command-line options `--quiet' and
          `--slave' set this initially to `FALSE'.

I don't think that this is correct for me.


Consider the following session:

mica|junk> ls
test.R
mica|junk> cat test.R 
cat("Why was this command echoed?\n")
mica|junk> R CMD BATCH --quiet test.R 
mica|junk> ls
test.R		test.Rout
mica|junk> cat test.Rout 
> invisible(options(echo = TRUE))
> cat("Why was this command echoed?\n")
Why was this command echoed?
> proc.time()
[1] 1.13 0.11 1.20 0.00 0.00
> 
mica|junk> 

Either using --quiet should set echo to FALSE (my personal preference) or the
documentation for options should be changed.

Apologies if I have misunderstood something here.

Regards,

Dave Kane

--please do not edit the information below--

Version:
 platform = sparc-sun-solaris2.6
 arch = sparc
 os = solaris2.6
 system = sparc, solaris2.6
 status = 
 major = 1
 minor = 3.0
 year = 2001
 month = 06
 day = 22
 language = R

Search Path:
 .GlobalEnv, package:ctest, Autoloads, package:base

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._