Rmarkdown Caption


ggplot(iris) + 
  aes(x=Sepal.Length,y=Sepal.Width) + 
  geom_point()
/tmp/RtmpU2tgWo/callr-scr-ab7057ae52bdb

/tmp/RtmpU2tgWo/callr-scr-ab7057ae52bdb

ggplot2 Caption


ggplot(iris) + 
  aes(x=Sepal.Length,y=Sepal.Width) + 
  geom_point() + 
  labs(caption = sprintf('sourced from: %s',whereami(path_expand = TRUE)))