Re: [R] Possible bugs in 'seek' and 'readBin'

2006-10-22 Thread Zepu Zhang
Sorry I can't provide reproducible code because it involves data files. I saw no warning messages. I'm using Mac 10.3, but the R is compiled by myself from command line. I'm reading in data from a XDR formatted file. The first 4 bytes is a 'long' integer, the remainder is double. --- problem wit

Re: [R] Possible bugs in 'seek' and 'readBin'

2006-10-22 Thread Prof Brian Ripley
Please see the message at the bottom of this posting, and supply the information requested, including your OS. (If the latter is Windows, did you notice the warnings in ?seek.) On Sat, 21 Oct 2006, Zepu Zhang wrote: > I found that > seek(..., origin = 'current', ...) > and > readBin(..., wha

[R] Possible bugs in 'seek' and 'readBin'

2006-10-21 Thread Zepu Zhang
I found that seek(..., origin = 'current', ...) and readBin(..., what = 'integer', ...) or 'int' do not work correctly. Did anyone have the same experience? __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/l