Re: [R] Bytes to Numeric/Float conversion

2013-06-12 Thread Bikash Agrawal
Actually I am using rJava, running some map-reduce using R. The data send is in bytes, but actually it is floating-point number. On R side, I need to convert this byte into Float. But I couldn't find any function. I am try using rawToChar() which convert into character. And later on as.double to

Re: [R] Bytes to Numeric/Float conversion

2013-06-12 Thread Duncan Murdoch
On 13-06-12 6:54 AM, Bikash Agrawal wrote: Actually I am using rJava, running some map-reduce using R. The data send is in bytes, but actually it is floating-point number. On R side, I need to convert this byte into Float. But I couldn't find any function. I am try using rawToChar() which

[R] Bytes to Numeric/Float conversion

2013-06-11 Thread Bikash Agrawal
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. Thanks Bikash -- With Best

Re: [R] Bytes to Numeric/Float conversion

2013-06-11 Thread David Winsemius
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

Re: [R] Bytes to Numeric/Float conversion

2013-06-11 Thread Henrik Bengtsson
On Tue, Jun 11, 2013 at 2:14 PM, David Winsemius dwinsem...@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.

Re: [R] Bytes to Numeric/Float conversion

2013-06-11 Thread Jeff Newmiller
I recommend the hexView package for setting up such conversions. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...