[R] Insert raster image into an R graphic

Greg Snow Greg.Snow at imail.org
Tue Jun 17 16:20:53 CEST 2008

Look at the subplot function in the TeachingDemos package.  One of the examples shows a scatterplot using the R logo as the points.
You may also want to look at the my.symbols function in the same package.

-----Original Message-----
From: "Tudor Bodea" <gtg757i at mail.gatech.edu>
To: "r-help at stat.math.ethz.ch" <r-help at stat.math.ethz.ch>
Cc: "Tudor Bodea" <gtg757i at mail.gatech.edu>
Sent: 6/16/08 9:11 PM
Subject: [R] Insert raster image into an R graphic

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.

Thank you so much.


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
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list