[R] Files and Windows/NT
David Scott
d.scott at auckland.ac.nz
Mon May 24 23:48:06 CEST 1999
I am using rw0.63.2.
I haven't upgraded because we use R for teaching. Students use R at
home, and we don't want to change them over in midsemester.
Also we have some additional functions we use, and we need to test them
before we start to use a new version. Which brings me to my question.
To help with testing we are preparing a test file which will run through
all our examples. In the course of this we have run into a problem which I
think is a Windows limitation which will probably be easily explained by
Brian or Guido.
We have the commands in a file and just source it to run the checks. After
we go through a number of scans to read in data sets R stops with the
message scan can't open file. This I know normally means it can't find it.
If we restart R and run that bit of code separately there is no problem.
What I believe is happening is that Windows has a limit on the number of
files that can be open at any one time. Is that the case?
Also when scan is used, the file remains open or reserved by R.
So, is my understanding correct? Is there any way to close a file and
to keep on reading more files?
We can work around by cutting up our test file, but I'm curious.
David Scott
_________________________________________________________________
David Scott Division of Science and Technology, Tamaki Campus
The University of Auckland, PB 92019
Auckland NEW ZEALAND
Phone: +64 9 373 7599 ext 6830 Fax: +64 9 308 2377 or 373 7001
Email: d.scott at Auckland.ac.nz or dscott at scitec.auckland.ac.nz
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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