1

事实上,我和 Teema Daniel Laajala 有同样的问题,但提供的答案对我不起作用。

问题是关于在 R 包文档中显示图像。当我编写与?par 文档文件中完全相同的代码时,即:

\item{\code{mai}}{A numerical vector of the form \code{c(bottom,
    left, top, right)} which gives the margin size specified in
  inches.\cr
  \if{html}{\figure{mai.png}{options: width="35\%" alt="Figure: mai.png"}}
  \if{latex}{\figure{mai.pdf}{options: width=7cm}}
}

图像不显示,我只能看到:imagenotdisplayed

虽然,我做了与上面完全相同的代码,将我的图像放在文件夹 man 中的文件夹图形中......所以我想知道如果我错过了什么,比如我应该安装的包或其他东西......

谢谢你的帮助 !

4

0 回答 0