Displaying 1 result from an estimated 1 matches for "transformtobinary".
2014 Jul 30
0
binary to R object
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 a file as follows:
writeBin(object=binary,con="fileName.txt")
Then eventually if I want to use it in R I just load it:
load("fileName.txt")
However, how can I go from the binary directly into an Robject with...