Prof Brian D Ripley <ripley@stats.ox.ac.uk> writes:
According to ?system (R-release)
system(command, intern=FALSE)
but the actual syntax is function(call, intern = FALSE, trash.errors =
FALSE).
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 ~~~~~~~~~~ - (p.dalgaard@biostat.ku.dk) 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: r-devel-request@stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._