[R] binary coding of NA, Nan etc.
Johann Petrak
johann at mail4.ai.univie.ac.at
Fri Sep 28 11:17:32 CEST 2001
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list