From pgilbert@bank-banque-canada.ca  Fri Oct 17 16:18:54 1997
From: pgilbert@bank-banque-canada.ca (Paul Gilbert)
Date: Fri, 17 Oct 1997 11:18:54 -0400
Subject: R-alpha: system()
Message-ID: <97Oct17.112109edt.26498@mailgate.bank-banque-canada.ca>

Here is a minor difference between R and S, but the rather pecular
"numeric" result occasionally seems to cause R to crash when it is used.
I'm not sure if this has been changed in .60.

R : ...

> mode(system("date \'+%Y %m %d %H %M %S\'"))
1997 10 17 10 57 27
[1] "numeric"
>
> (system("date \'+%Y %m %d %H %M %S\'"))[1]
1997 10 17 11 13 55
[1] 0
>
> q()
Save workspace image? [y/n/c]: n
$
$ splus...
>  mode(system("date \'+%Y %m %d %H %M %S\'"))
[1] "character"
>

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
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
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-


R-alpha: system()
Paul Gilbert