November 21, 2018

R Save a plot file

# save 
jpeg('some.jpg')

ggplot(
  data = somedata,
  aes(x = mth, y = x)
)


# save
dev.off()

No comments:

Post a Comment