Re: [R] readBin into a data frame

2013-08-02 Thread Jeff Newmiller
I find the hexView package quite helpful for this. --- Jeff NewmillerThe . . Go Live... DCN:Basics: ##.#. ##.#. Live Go... Live:

Re: [R] readBin into a data frame

2013-08-02 Thread Uwe Ligges
On 01.08.2013 10:36, Zhang Weiwu wrote: Hello. readBin is designed to read a batch of data with the same spec, e.g. read 1 floats into a vector. In practise I read into data frame, not vector. For each data frame, I need to read a integer and a float. for (i in 1:1000) { dataframe$in

Re: [R] readBin into a data frame

2013-08-01 Thread Duncan Murdoch
On 13-08-01 4:36 AM, Zhang Weiwu wrote: Hello. readBin is designed to read a batch of data with the same spec, e.g. read 1 floats into a vector. In practise I read into data frame, not vector. For each data frame, I need to read a integer and a float. for (i in 1:1000) { dataframe$i

[R] readBin into a data frame

2013-08-01 Thread Zhang Weiwu
Hello. readBin is designed to read a batch of data with the same spec, e.g. read 1 floats into a vector. In practise I read into data frame, not vector. For each data frame, I need to read a integer and a float. for (i in 1:1000) { dataframe$int[i] <- readBin(con, integer(), size