链接到R中的roxygen2中的文档中的其他软件包 [英] Linking to other packages in documentation in roxygen2 in R

查看:82
本文介绍了链接到R中的roxygen2中的文档中的其他软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想知道是否存在一种方法,当我尝试使用为新软件包编写文档时,可以通过 link 从其他软件包运行roxygen2
类似于 \link {pck = PACKAGE_NAME,fun = FUNCTION_NAME} 吗?

I am wondering it there exists a method to link to function from other package when I'm trying to write a documentation for new package using roxygen2. Something like \link{pck=PACKAGE_NAME, fun=FUNCTION_NAME}?

推荐答案

您必须输入 \link [pkg] {function} 例如 \link [stringi] {stri_c}

这篇关于链接到R中的roxygen2中的文档中的其他软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆