ggplot2:全图尺寸图像

ggplot2: Full plot size image

我想知道如何获得具有完整图尺寸图像的 ggplot2 图

library("ggplot2")
library("ggimage")
set.seed(12345)
df1 <- data.frame(x = rnorm(1),
                y = rnorm(1),
                image = "https://www.r-project.org/logo/Rlogo.png")

ggplot(df1, aes(x, y)) + 
  geom_image(aes(image=image), size=.05)

df2 <- data.frame()
ggplot(df2) +
  geom_point() 

library("ggimage")
set.seed(12345)
df1 <- data.frame(x = rnorm(1),
                  y = rnorm(1),
                  image = "https://www.r-project.org/logo/Rlogo.png")

ggplot(df1, aes(x, y)) + 
    geom_image(aes(image=image), size=1)