[R] output of system() call not returned in Win98

Roger Bivand Roger.Bivand at nhh.no
Fri Jul 6 16:39:13 CEST 2001


On Fri, 6 Jul 2001, Barrowman, Nick wrote:

> On one machine running Win98 and R 1.2.2 this command works:
> 
> 	system("command.com /c dir",show=T,invisible=T)
> 
> On another machine also running Win98 and R 1.2.2 it does not.
> Nothing appears.
> 
Maybe try:

> list.files()

which should be less platform-dependent than system() for listing the
current directory?

Does this also affect the output of programs that are not command shells?

Roger

-- 
Roger Bivand
Economic Geography Section, Department of Economics, Norwegian School of
Economics and Business Administration, Breiviksveien 40, N-5045 Bergen,
Norway. voice: +47 55 95 93 55; fax +47 55 95 93 93
e-mail: Roger.Bivand at nhh.no
and: Department of Geography and Regional Development, University of
Gdansk, al. Mar. J. Pilsudskiego 46, PL-81 378 Gdynia, Poland.

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list