Question

So I am working on a mapping project. We have maps near completion -drawn using R base graphics (i.e. plot() ) I am outputting my maps in eps format to best suit publication. However the mapping agency who kindly gave us the data require us include their logo - whihc I have in EPS and jpg formats.

How do I load an eps file into R and then superimpose it on a map have drawn (using base graphics) ?

Was it helpful?

Solution

The grImport package can be used to import vector graphics (the .eps logo file) and add the imported graphic to a plot. There are a couple of vignettes with the package that show several examples.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top