[R] Write signed short into a binary file (follow up and conclusion)
L.Nanetti at med.umcg.nl
L.Nanetti at med.umcg.nl
Mon Aug 28 16:52:59 CEST 2006
I've solved my problem using:
(purpose: write the signed integer -19 as a two byte integer into a binary file)
writeBin(as.integer(-19),myconnection, size=2)
There is no need to coerce.
Thanks anyway!
Luca NanettiUniversity Medical Center Groningen
BCN-NeuroImagingCenter
A.Deusinglaan 2 9713AW Groningen
The Nethterlands
l dot nanetti at med dot rug dot nl
More information about the R-help
mailing list