reluctant to read win95 directory (PR#231)

John Peters
Thu, 22 Jul 1999 15:17:43 +1000 (EST)

Peter Dalgaard BSA writes:

> writes:
> > Using rw0642 under win95, on executing from a directory on the c: drive:
> > 
> >    system(" /c dir", intern=T)
> > 
> > there is a whirring from drive a: (empty), then the message appears in a 
> > dos box:
> > 
> >    General failure reading device aLP!!?
> >    Abort, Retry, Fail?
> Not that I know anything about Windows, but is there a chance that the
> machine goes looking for on the diskette? I.e. you want
> c:\\windows\\ instead.

I'm afraid not.  Even 

  system("c:\\windows\\ /c dir c:",intern=T)

behaves the same, ie fails several times with the above message, then 
works fine until the next reboot.  A further detail: the whirring on 
drive a: only occurs on the first attempt; thereafter the drive is silent 
as if the result is cached.

Maybe also relevant:

1. I'm starting R from a desktop shortcut with the opening directory 
   named in the "Start in:" box.  Exercising the R pulldown "File - 
   Change dir" doesn't help.
2. This also happened with rw0641, but not in an earlier version (not sure 


John Peters
CSIRO National Measurement Laboratory
PO Box 218                                Phone:    +61 2 9413 7503
Lindfield NSW 2070                        Fax:      +61 2 9413 7202
Australia                                 Internet: John.Peters@tip.CSIRO.AU
r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: