Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在分析数据时,关于变量的元数据非常重要。你如何在 R 中管理这些信息?
例如,有没有办法指定将打印的标签而不是变量名?
R中有什么设施呢?
想到的快速建议是
comment()
使用repo包。您可以为每个变量分配一个长名称、一个描述、一组标签、一个远程 url、依赖关系,还可以附加到它的图形或通用外部文件。在 CRAN( install.packages("repo")) 上找到最新的稳定版本或在github上找到最新的开发。在这里快速概览。希望能帮助到你。
repo
install.packages("repo")