rawConnection did it!!
Thank you very much!!!
From: Prof Brian Ripley [rip...@stats.ox.ac.uk]
Sent: Wednesday, July 30, 2014 4:14 PM
To: Ramiro Barrantes; r-help@r-project.org
Subject: Re: [R] binary to R object
What type actually is 'binary'
What type actually is 'binary' here? We cannot tell, as writeBin will
handle many types.
If 'binary' means a raw vector, two ways:
1) Use load() on a raw connection (see ?rawConnection).
2) Make use of the information in ?readRDS. You can read the header
from save() format by skipping the f
Hello,
I have stored R objects as hexadecimals in a mysql database, I then usually
transform them to binary and then save it into a file. E.g.
hex <- getBlob #gets blob from database as hexadecimal
binary <- transformToBinary(hex) #moves from hex to binary
I would usually save them into
3 matches
Mail list logo