Skip to content

Help: How to Convert Binary Data into Text Using R

3 messages · Fahman Khan, Bob Rudis, Bert Gunter

#
Good Evening,
Just started learning R and one of the task given to me is to convert Binary Data into text. I'm not sure what package i'm suppose to use. Can i get an idea of how i can convert binary into text.?
Regards,Fahman Khan
#
Welcome to R and R-help!

It would help others help you if you provided a minimal example and
explained your situation with a bit more details. It's pretty vague as
it stands.

Base R has both a `readBin()` and `rawConnection()` functions (amongst
other tools for such things) and there are a few packages that also
help with reading "binary" data. But, without knowing more specifics,
that's about as much direction as any of us wld be able to give.

-Bob

On Sat, Jun 11, 2016 at 9:06 PM, Fahman Khan via R-help
<r-help at r-project.org> wrote:
#
Suggestion: Before posting here, search! You are likely to get the
info you want a lot faster.

The rseek.org website is particularly helpful, but google, bing, etc.
are also typically useful. The phrase "read binary data" brought up
many hits on rseek, but as a Bob said, you may need to refine/clarify
your query to get what you want.

Cheers,
Bert
Bert Gunter

"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )


On Sat, Jun 11, 2016 at 6:06 PM, Fahman Khan via R-help
<r-help at r-project.org> wrote: