[R] Insert raster image into an R graphic

Paul Murrell p.murrell at auckland.ac.nz
Wed Jun 18 21:22:53 CEST 2008


Tudor Bodea wrote:
> Dear useRs:
> Is there a way to include a raster image (e.g., .gif, .jpg, .bmp) representing
> a company logo, a school logo, etc. into an R graphic? For example, it would be
> nice to be able to include the logo of the school into the charts that a
> student produces for her dissertation. Similarly, while working on a
> competitive analysis, it would be nice to be able to replace the names of the
> competitors with their brand logos. My searches so far led to inconclusive
> results and, therefore, any suggestions are welcome.

Someone has already mentioned 'pixmap' for bitmap logos.

If the logo is in a vector format, the 'grImport' package might also be


> Thank you so much.
> Tudor
> --
> Tudor Dan Bodea
> Georgia Institute of Technology
> School of Civil and Environmental Engineering
> Web: http://www.prism.gatech.edu/~gtg757i
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

Dr Paul Murrell
Department of Statistics
The University of Auckland
Private Bag 92019
New Zealand
64 9 3737599 x85392
paul at stat.auckland.ac.nz

More information about the R-help mailing list