Re: [R] Reading 4-byte float into R from binary file

2009-06-24 Thread Sean Davis
On Wed, Jun 24, 2009 at 2:55 PM, Duncan Murdoch wrote: > On 6/24/2009 2:41 PM, Sean Davis wrote: > >> A simple question, I hope I have a binary file format that I want to >> slurp into R using readBin. There are a couple of fields in the file that >> are 4-byte floats. Since R has no "float

Re: [R] Reading 4-byte float into R from binary file

2009-06-24 Thread Duncan Murdoch
On 6/24/2009 2:41 PM, Sean Davis wrote: A simple question, I hope I have a binary file format that I want to slurp into R using readBin. There are a couple of fields in the file that are 4-byte floats. Since R has no "float" data type (4-byte), I am wondering how to go about this task. I