我一直在尝试使用R 2.15.3和Perl 5.10的命令安装软件包RSPerl:
PERL=`which perl` R --vanilla CMD INSTALL -c -l ~/library/ RSPerl_0.92-1.tar.gz
我收到此错误:
Warning: /tmp/RtmpQZ3PRs/R.INSTALL146277fe434b/RSPerl/man/PerlReferenceObjects.Rd:32: unknown macro '\textit'
*** installing help indices
** building package indices
Removing additional files
** testing if installed package can be loaded
Error : .onLoad failed in loadNamespace() for 'RSPerl', details:
call: setPerlLib(FALSE)
error: could not find function "Sys.putenv"
Error: loading failed
Execution halted
ERROR: loading failed
* removing ‘/home/AVT2130/software/R-2.15.3/library/RSPerl
请帮助解决此问题。
谢谢