<div>It looks like jsonlite::fromJSON function should do the trick.<br><div class="gmail_quote"><div>sön 19 feb. 2017 kl. 08:51 skrev nabblegirl <<a href="mailto:elxxg9@163.com">elxxg9@163.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">In mysql database, have data serialized by php as below:<br class="gmail_msg">
<br class="gmail_msg">
"a:564:{s:13:\"caltime\";s:6:\"65.26\";<br class="gmail_msg">
I use Rmysql to query these data, but donot know how to unserialize them in<br class="gmail_msg">
R.<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
<br class="gmail_msg">
--<br class="gmail_msg">
View this message in context: <a href="http://r.789695.n4.nabble.com/How-to-unserialize-php-serialized-data-in-R-tp4728943.html" rel="noreferrer" class="gmail_msg" target="_blank">http://r.789695.n4.nabble.com/How-to-unserialize-php-serialized-data-in-R-tp4728943.html</a><br class="gmail_msg">
Sent from the datatable-help mailing list archive at Nabble.com.<br class="gmail_msg">
_______________________________________________<br class="gmail_msg">
datatable-help mailing list<br class="gmail_msg">
<a href="mailto:datatable-help@lists.r-forge.r-project.org" class="gmail_msg" target="_blank">datatable-help@lists.r-forge.r-project.org</a><br class="gmail_msg">
<a href="https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help" rel="noreferrer" class="gmail_msg" target="_blank">https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/datatable-help</a><br class="gmail_msg">
</blockquote></div></div>