Displaying 2 results from an estimated 2 matches for "tstnums".
Did you mean:
tstnum
2008 Jul 28
1
Mixed model question.
I continue to struggle with mixed models. The square zero version
of the problem that I am trying to deal with is as follows:
A number (240) of students are measured (tested; for reading
comprehension)
on 6 separate occasions. Initially (square zero) I want to treat the
test time as a factor (with 6 levels). The students are of course
``random effects''. Later I want to look at
2023 Feb 11
1
scan(..., skip=1e11): infinite loop; cannot interrupt
...e. It's
file type "Mork", which is mostly standard characters with "\n" between
records of varying length.
Is there some other function in R that allows me to read chunks of a
large file like this?
Thanks,
Spencer Graves
writeLines(as.character(1:11), 'tstNums.txt')
(Tst2 <- scan('tstNums.txt', n=12, skip=5))
# works: 6 7 8 9 10 11
(Tst13 <- scan('tstNums.txt', n=12, skip=13))
# works: numeric(0)
(tst1e11 <- scan('tst.txt', n=12, skip=1e11))
# Goes into an infinite loop that I cannot even interrupt.
# I must kill R an...