在探索Rstudio演示文稿时,我遇到了一个可能很简单但令人烦恼的问题,我的搜索没有解决这个问题。简而言之,导入到我的演示文稿中的图像不会出现;只有包含alt文本的框才会出现。在Rmarkdown文件中使用相同的导入,图像就会出现。我运行的是osx10.9.5和RStudio 0.98.1091。代码示例如下:
此.Rmd显示我的图像:
---
title: "Another Try"
author: "Me"
date: "today"
output: html_document
---
This is my image.
此.Rpres不显示我的图像:
anotherTry
========================================================
author: Me
date: Today
My Image
========================================================
发布于 2014-11-30 01:58:59
下面的代码(在文件file.Rpres中)适用于我的rstudio。
Title slide
===========
author: me
date: now
Test slide
==========
Below is a test image


发布于 2017-12-14 21:02:47
图像似乎需要位于演示文稿的源文件夹中
不工作,但是
如果文件位于同一目录中,则可以工作
https://stackoverflow.com/questions/27130393
复制相似问题