在探索 Rstudio 演示文稿时,我遇到了一个可能很简单但令人烦恼的问题,我的搜索没有解决。简而言之,导入到我的演示文稿中的图像没有出现;只有带有 alt 文本的框才可以。在 Rmarkdown 文件中进行相同的导入,图像就会出现。我正在运行 OSX 10.9.5 和 RStudio 0.98.1091。代码示例如下:
这个 .Rmd 显示我的图像:
---
title: "Another Try"
author: "Me"
date: "today"
output: html_document
---
This is my image.
![my image](/path/to/my/file/myimage.png)
这个 .Rpres 不显示我的图像:
anotherTry
========================================================
author: Me
date: Today
My Image
========================================================
![my image](/path/to/my/file/myimage.png)
最佳答案
以下(在文件 file.Rpres
中)适用于我,使用 rstudio。
Title slide
===========
author: me
date: now
Test slide
==========
Below is a test image
![my image](testimage.png)
关于r - 图像无法出现在 .Rpres 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27130393/