What is the best way to manage metadata in R? [duplicate]

空扰寡人 提交于 2019-12-03 16:16:28

Quick suggestions that come to mind are

  1. attributes to store data along with an object (as Frank Harrell has championed for a long time)
  2. the comment() function can do parts of this
  3. the whole gamut of object-orientation to achieve different printing behaviour etc

Use the repo package. You can assign each variable a long name, a description, a set of tags, a remote url, dependency relations and also attach to it figures or generic external files. Find the latest stable release on CRAN (install.packages("repo")) or the latest development on github. A quick overview here. Hope it helps.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!