Thu, 4 Mar 1999 11:33:33 +0100
Prof Brian D Ripley <email@example.com> writes:
> According to ?system (R-release)
> system(command, intern=FALSE)
> but the actual syntax is function(call, intern = FALSE, trash.errors =
> So, is it `call' or `command', and what does `trash.errors' do? (I assume
> it is intended to make stderr be ignored, but that would not be my
> guess from the name, and is shell-dependent, let alone system-dependent.)
> I'll crawl back to documenting system() on Windows....
Filing as bug report. With 0.63.3 due out tomorrow, I don't want to fix
bugs that haven't actually bitten anyone. But yes, the docs should be
fixed to describe the actual code, it probably should be "command" and
"trash.errors = FALSE" could be something like "stderr = TRUE".
The shell-dependency is probably not avoidable, but - at least on
Linux - system and popen have /bin/sh hardcoded (POSIX?).
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (firstname.lastname@example.org) FAX: (+45) 35327907
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: email@example.com