search for: axcs07

Displaying 1 result from an estimated 1 matches for "axcs07".

Did you mean: 0xc807
2001 Sep 11
5
for loop question
In the windows version of R (1.3.0) is the following a bug, a known problem, or expected behavior: > for (i in 1:2) { + for (j in i+1:3) { + print(j) + } + } [1] 2 [1] 3 [1] 4 ???? [1] 3 [1] 4 ???? [1] 5 ???? > Conversely, the following behaves as expected: > for (i in 1:2) { + k <- i+1 + for (j in k:3) { + print(j) + } + } [1] 2 [1] 3 [1] 3 >