Skip to content

MariaTsayo/saveImageHigh

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

saveImageHigh

Saving an R graph as PDF or PNG with high resolution.

Install from Github:

devtools::install_github("nikopech/saveImageHigh")

Usage

gr = ggplot(mtcars, aes(mpg, disp, color = am)) + geom_point()

save_as_pdf({print(gr)},
            file.name = "my-graph.pdf",
            width = 6,
            height = 4)

save_as_png({plot(1:10, 1:10)},
            file.name = "first-image.png")

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • R 100.0%