Displaying 1 result from an estimated 1 matches for "transformtobinari".
Did you mean:
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