search for: p9lr_all

Displaying 2 results from an estimated 2 matches for "p9lr_all".

2002 Jan 29
0
(PR#1287) seek was ignoring the `origin' argument (was
...(NULL) (129.187.254.49) > > > It seems that seek() can't reposition a file connection, but it can report the > actual file position correctly if the file connection was repositioned by > another function (e.g. readBin()). > > R code: > > > s <- file("p9_os/p9lr_all.mea","rb") > > s > description class mode > "p9_os/p9lr_all.mea" "file" "rb" > text opened can read > "bina...
2002 Jan 24
0
File end in binary connection
Hi, I need to read to the file end of a binary file connection. My idea is to do this in a while loop: while(actual.position < file.size) readBin() ... How can I determine the file size? > p9lr description class mode text opened "p9lr_all.mea" "file" "rb" "binary" "opened" can read can write "yes" "no" > seek(p9lr, 0, "end") [1] 0 > seek(p9lr) [1] 0 Looks for me that seek() doesn't re...