Created
November 8, 2022 16:06
-
-
Save kumeS/bad9ace466970bd13b5afd15eed6f9b6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pdf_png_save <- function(FileName){ | |
grDevices::quartz.save(FileName, type="pdf", width=5.5, height=4.5);dev.off(); | |
pdftools::pdf_convert(pdf = FileName, format = "png", dpi = 300) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment