search for: aa7890

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

Did you mean: 7890
2024 May 21
1
wrtiteBin in conjunction with seek : the position in the file is not good when writing
...le and not from the current position and however in the doculentation it is written: ? If the connection is open it is read/written from its current position. Thank you Best regards Laurent Here is the tiny example: The file_test.txt before: 1234567890 1234567890 The file_test.txt after: ?AA AA7890 1234567890 The file should have been like that: 123456 AA AA1234567890 ## open the file in read/write mode + binary fname <- file.path(".","txt","file_test.txt") con_in <- file(fname,"r+b") # move on 2 bytes pos <- seek(con_in,2,origin="start&...