在两个不同的程序包中获得两个具有相同名称的功能的帮助

在两个不同的程序包中获得两个具有相同名称的功能的帮助

问题描述:

我知道如何在两个不同的程序包中使用两个具有相同名称的函数,例如packageName:::functionName.但是,即使?packageName:::functionNamehelp(packageName:::functionName)也无法正常工作.这对我来说很奇怪.有什么想法.

I know how to use two functions with the same name in two different packages, like packageName:::functionName. But help(packageName:::functionName) does not work even though ?packageName:::functionName. This is strange to me. Any thoughts.

library(plyr)
library(reshape)

plyr:::rename
reshape:::rename

help(plyr:::rename)
?plyr:::rename

阅读help(help).您可以使用help(rename, plyr)获取plyr::rename的文档.

Read help(help). You can use help(rename, plyr) to get the documentation for plyr::rename.