找回密码
 注册
查看: 2063|回复: 0

求助贴:制作R包的若干问题

[复制链接]
发表于 2013-8-31 15:26:53 | 显示全部楼层 |阅读模式
最近正在制作个R包,还是遇到了些困难,已经困扰了好几天,希望路过的大神帮忙!

测试平台:i386-w64-mingw32 (32-bit)
R版本:RStudio  3.0.1
1,用ROXYGEN2是不是只能生成sayHello.Rd,而不能生成sayHello-package.Rd,这个文档得手动写?
2,sayHello-package.Rd这个是不是要删除,因为不删除的话,check的时候就卡在这个地方了:* checking Rd cross-references ...;但是正式上传的话,是要的吧,要不然帮助文档不就没有了?
3,Build and reload 之后出现警告:WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

http://cran.rstudio.com/bin/windows/Rtools/
4, check出现错误:* checking PDF version of manual without hyperrefs or index ... ERROR
Re-running with no redirection of stdout/stderr.
Hmm ... looks like a package
You may want to clean up by 'rm -rf C:/DOCUME~1/ADMINI~1/LOCALS~1/Temp/Rtmpa4aQeA/Rd2pdf13c01e5b116f'
Error in texi2dvi(file = file, pdf = TRUE, clean = clean, quiet = quiet,  :
  pdflatex is not available
Error in running tools::texi2pdf()
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2024-11-22 06:01 , Processed in 0.061530 second(s), 16 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表