[R] Bytes to Numeric/Float conversion

Jeff Newmiller jdnewmil at dcn.davis.CA.us
Tue Jun 11 23:38:06 CEST 2013


I recommend the hexView package for setting up such conversions.
---------------------------------------------------------------------------
Jeff Newmiller                        The     .....       .....  Go Live...
DCN:<jdnewmil at dcn.davis.ca.us>        Basics: ##.#.       ##.#.  Live Go...
                                      Live:   OO#.. Dead: OO#..  Playing
Research Engineer (Solar/Batteries            O.O#.       #.O#.  with
/Software/Embedded Controllers)               .OO#.       .OO#.  rocks...1k
--------------------------------------------------------------------------- 
Sent from my phone. Please excuse my brevity.

David Winsemius <dwinsemius at comcast.net> wrote:

>
>On Jun 11, 2013, at 9:01 AM, Bikash Agrawal wrote:
>
>> Is there any packages available in R, that can convert Bytes array to
>Float.
>> Using rJava we can do it. But it is kind of slow. Is there any R
>> specific packages.
>> I am having problem converting my bytes array to floating point.
>> Could any one help me with this problem.
>
>There is a raw data type that is designed to hold bytes than can be
>indexed.
>
>?raw
>
>`scan` can read files of type raw
>
>?scan



More information about the R-help mailing list