scan error (PR#342)
jlindsey@alpha.luc.ac.be
jlindsey@alpha.luc.ac.be
Wed, 24 Nov 1999 15:26:11 +0100 (MET)
It seems to me the following should work (in fact, it comes from
someone's SPlus file). Instead, it reads the first 8 lines and then
spits out syntax errors. Using nlines=36 works. Using nmax does not.
Intel RH5.2 with R90.0. Debugging shows it must be internal. Jim
junk <- scan(file="",list(i=0,r1=0,r2=0,lull="",day=""),n=5*36)
1 3 5 no 1
2 1 0 yes 1
3 2 4 no 2
4 1 0 yes 2
5 1 4 no 3
6 1 0 yes 3
7 1 5 no 4
8 0 1 yes 4
9 4 1 no 5
10 1 0 yes 5
11 4 5 no 6
12 1 0 yes 6
13 5 3 no 7
14 1 0 yes 7
15 4 4 no 8
16 1 0 yes 8
17 3 2 no 9
18 1 0 yes 9
19 8 1 no 10
20 0 1 yes 10
21 5 1 no 11
22 1 0 yes 11
23 8 1 no 12
24 1 0 yes 12
25 5 3 no 13
26 1 0 yes 13
27 4 1 no 14
28 1 0 yes 14
29 4 2 no 15
30 1 0 yes 15
31 7 1 no 16
32 1 0 yes 16
33 4 2 no 17
34 0 1 yes 17
35 5 3 no 18
36 1 0 yes 18
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._