Storing R Objects in a relational database

前端 未结 5 2049
鱼传尺愫
鱼传尺愫 2020-12-07 19:26

I frequently create nonparametric statistics (loess, kernel densities, etc) on data I pull out of a relational database. To make data management easier I would like to store

5条回答
  •  春和景丽
    2020-12-07 20:07

    Use the serialization feature to turn any R object into a (raw or character) string, then store that string. See help(serialize).

    Reverse this for retrieval: get the string, then unserialize() into a R object.

提交回复
热议问题