r - 图像无法出现在 .Rpres 中

标签 r image r-markdown

在探索 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)

screen snapshot

关于r - 图像无法出现在 .Rpres 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27130393/

相关文章:

r - blogdown + hugo,标签式代码块不显示主题 tranquilpeak

r - facet_grid ggplot2 中显示更改单 margin ?

r - 当文件名可变时,将文件中的代码包含到 RMarkdown

r - 在栅格::calc中的tryCatch r

javascript - 调整图像大小并附加到 HTML 表单的正确方法?

c++ - 在非 ONPaint 的 MFC 方法中显示图像

html - 如何将png二进制数据放入img标签中并显示为图像?

r - 以编程方式将多个图像包含到 Markdown 文档中

r - 使用考试包生成带有图像的 Moodle 练习

r - 在 R 中叠加内核分布