From: Barry Rowlingson <B.Rowlingson_at_lancaster.ac.uk>

Date: Wed 08 Feb 2006 - 05:03:17 EST

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Feb 08 05:30:28 2006

Date: Wed 08 Feb 2006 - 05:03:17 EST

www.brook@gmail wrote:

> I have a binary file with data sequence in the order

What do you mean by 'binary file'?

> [age,weight][age,weight] ....

How are age and weight encoded in this 'binary file'?

> I know the length of the data and I want to load it into a

*> data.frame. of course a way to do this is to read age and weight
**> seperately and then use cbin(age,weight) to combine them into a
**> dataframe, but is there a better solution?
**>
*

Is it really an ASCII file? With age and weight separated by commas, and then age-weight pairs separated by spaces? Are there really square bracket pairs in there too?

Or is it really a binary file, a series of 4 or 8-byte binary representations of age and weight?

Barry

R-help@stat.math.ethz.ch mailing list

https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Wed Feb 08 05:30:28 2006

*
This archive was generated by hypermail 2.1.8
: Wed 08 Feb 2006 - 23:29:33 EST
*