这比问题更令人烦恼,但是有没有办法防止在 R 中的文档被编译并且行太长时发生行“溢出”?
使用以下创建的一些文档的片段R CMD Rd2pdf [options] files
:
我在任何地方都找不到提到这一点,Rd2pdf 的唯一选择是:
Options:
-h, --help print short help message and exit
-v, --version print version info and exit
--batch no interaction
--no-clean do not remove created temporary files
--no-preview do not preview generated PDF file
--encoding=enc use 'enc' as the default input encoding
--outputEncoding=outenc
use 'outenc' as the default output encoding
--os=NAME use OS subdir 'NAME' (unix or windows)
--OS=NAME the same as '--os'
-o, --output=FILE write output to FILE
--force overwrite output file if it exists
--title=NAME use NAME as the title of the document
--no-index don't index output
--no-description don't typeset the description of a package
--internals typeset 'internal' documentation (usually skipped)