Re: [Rd] raw connections: reading does not alter current position pointer

2011-05-12 Thread Prof Brian Ripley
I am not the author, but looking at the code shows that raw_read has a line missing compared to raw_write. It should work now in R-devel/R-patched. Thanks for the report. On Mon, 2 May 2011, William Dunlap wrote: Am I misunderstanding rawConnections here or are rawConnections not working rig

[Rd] raw connections: reading does not alter current position pointer

2011-05-02 Thread William Dunlap
Am I misunderstanding rawConnections here or are rawConnections not working right yet? It looks like I can use seek() to position the read pointer but readBin does not position the read pointer past what has just been read. > myRawTen <- as.raw(101:110) > str(myRawTen) raw [1:10] 65 66 67