Here is the first few bytes, xxd -l 128 X1.RData 00000000: 8d5a 35f8 1ac5 cc14 a04e be5c 572f a3ad .Z5......N.\W/.. 00000010: 6210 7024 9b58 93c7 34d0 acb7 7a82 3f99 b.p$.X..4...z.?. 00000020: 66ce 0ebb 2057 ec36 55b4 0ece a036 695a f... W.6U....6iZ 00000030: 258b 3493 b661 f620 f7fe ada7 158a 15f7 %.4..a. ........ 00000040: e016 a548 6fcb 20c8 6fb4 493d adc9 ea4a ...Ho. .o.I=...J 00000050: 0a2b b7cf a416 336e 5e4e abc5 9874 7be3 .+....3n^N...t{. 00000060: 5a5a 3405 fe35 8a3d ad80 0dc0 ca3e ea7a ZZ4..5.=.....>.z 00000070: e628 b220 ee50 0b9f 3a81 e971 8a19 4f54 .(. .P..:..q..OT
On Fri, Mar 22, 2024 at 2:36 PM Ivan Krylov <ikry...@disroot.org> wrote: > > В Fri, 22 Mar 2024 14:31:17 -0500 > Val <valkr...@gmail.com> пишет: > > > How do I get the first few bytes? > > What does file.info('X1.RData') say? > > Do you get any output if you run print(readBin('X1.RData', raw(), 128))? > > If this is happening on a Linux or macOS machine, the operating system > command xxd -l 128 X1.RData will give the same output in a more > readable manner, but the readBin(...) output from R should be fine too. > > -- > Best regards, > Ivan ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.