Message-ID: <200109280917.LAA03565@fichte.ai.univie.ac.at>
Date: 2001-09-28T09:17:32Z
From: Johann Petrak
Subject: binary coding of NA, Nan etc.
I wonder which binary codings to use for the different
"special" values used in R.
I want to create binary coded files of double, int, and
string values that should get read into R using readBin.
Now, what is the correct way to code NA, NaN, Inf, and -Inf
for these types? The documentation for read/writeBin
doesnt contain any info on that ...
(for int and string, there probably is only NA).
How to do this portably?
The program should be compiled seperately from R, so
I cannot use R macros/configure for that.
Johann
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._