Reputation: 21
In exploring Rstudio presentations, I ran into a presumably simple, but vexing, problem that my searches have not solved. In short, an image imported into my presentation does not appear; only the box with alt text does. With the same import in an Rmarkdown file, the image appears. I am running OSX 10.9.5 and RStudio 0.98.1091. Code examples below:
This .Rmd shows my image:
---
title: "Another Try"
author: "Me"
date: "today"
output: html_document
---
This is my image.

This .Rpres does not show my image:
anotherTry
========================================================
author: Me
date: Today
My Image
========================================================

Upvotes: 2
Views: 1214
Reputation: 29
It seems to be that the image need to be in the source folder of the presentation

doesn't work but

works, if the file is in the same directory
Upvotes: 2
Reputation: 851
The following (in file file.Rpres
) works for me, with rstudio.
Title slide
===========
author: me
date: now
Test slide
==========
Below is a test image

Upvotes: 2