Skip to contents

Includes a picture in rMarkdown, creates a string that has to be outputted

Usage

showGraphics(
  ident,
  from = pwd(),
  addAsLink = TRUE,
  caption = "",
  description = "",
  includeCaption = T,
  includeDescription = T
)

Arguments

ident

path, resource or entity ID of the picture

from

used for relative paths, by default pwd is used, which is initiated with the step that started improveR

creates a link in inventory if TRUE, warn improveClean has to be run at the end

caption

by default entityID and lastmodified are the caption, here alternative text can be provided

description

by default filename is the caption, here alternative text can be provided

includeCaption

display the caption

includeDescription

display the description

References

ics1141