Displaying 2 results from an estimated 2 matches for "writeint".
Did you mean:
write_int
2000 Jun 29
1
Binary file functions in R
This is just to let people know that I'm going to try to put together
a little package of binary file read/write functions for R, along the
lines described in my message in r-help. I'm going to do it first in
R for Windows using a DLL written in Delphi; I'll let people comment
on that, and once the design settles down, I'll redo the external code
in C so that it should be portable
2001 Jul 17
1
How to write the bytes 00 01 00 to a file/connection?
Is there any way to write (8-bit) bytes to a file which works on all [R]
platforms? I have been looking at
1) writeBin
2) writeChar
3) cat
and neither of them manage to write arbitrary sequences of bytes (0-255).
For instance, I would like to create a binary file of length three
containing the bytes 0, 1 and 0. I [R] I have the following vector of bytes:
bfr <- c(0,1,0)
1) For