Displaying 1 result from an estimated 1 matches for "object_column".
2008 Sep 25
1
Saving R-objects to a database
...ize(obj, NULL)
dbSendQuery(link, paste("insert into table values(1, '",ser,"')",sep=''))
The field to save the object in the MySQL Database is of type blob.
result = dbGetQuery(link,"select * from table where id=1")
unser = unserialize(result[1,"object_column"], NULL)
Error in unserialize(result[1, "object_column"], NULL) : unknown input
format
In addition: Warning message:
In unserialize(result[1, "object_column"], NULL) :
unserialize()from a character string is deprecated and will be
withdrawn in R 2.8.0
Any suggestion...