user1357015
user1357015

Reputation: 11676

R knitr html file picture locations when compiling through RStudio

When I make my knitr document, I see the html file in my directory. I load the file and it looks great.

However, I'm curious where the pictures are:

It gives me locations like:

img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAACQAAAAYACAYAAAAjFnetAAAEJGlDQ1BJQ0MgUHJvZmlsZQAAOBGFVd9v21QUPolvUqQWPyBYR4eKxa9VU1u5GxqtxgZJk6XtShal6dgqJOQ6N4mpGwfb6baqT3uBNwb8AUDZAw9IPCENBmJ72fbAtElThyqqSUh76MQ ...."

Where exactly is the image?

Upvotes: 1

Views: 84

Answers (1)

Walter
Walter

Reputation: 353

This IS the image directly encoded in html. http://en.wikipedia.org/wiki/Data_URI_scheme

see f.e. this stack overflow question: Embedding Base64 Images

kind greetings

Upvotes: 3

Related Questions