library("knitr")
# upload all images to imgur.com
opts_knit$set(
  upload.fun = imgur_upload, 
  base.url = NULL
)

Scatter plot

plot(mpg ~ cyl, data=mtcars)

Bar plot

barplot(VADeaths)

Histogram

hist(iris$Petal.Length)


ropensci/gistr documentation built on Oct. 21, 2022, 2:14 p.m.