All - I'm creating some plots in R that I would like to overlay on images that are created outside of R. I've used "image" before to plot image-like data within R, and have added vector plots on top of them, but I can't find a way to read in an external bitmap file into R and use that. Currently the external files are .png's, but I could generate a few other types, if something else might be easier to import. Thanks, -Mike
importing bitmap images to R
4 messages · Michael Wolosin, Uwe Ligges, Charles C. Berry +1 more
See package pixmap and Paul Murrel's talk from useR!2006: http://www.r-project.org/useR-2006/Slides/Murrell.pdf Uwe Ligges
Michael Wolosin wrote:
All - I'm creating some plots in R that I would like to overlay on images that are created outside of R. I've used "image" before to plot image-like data within R, and have added vector plots on top of them, but I can't find a way to read in an external bitmap file into R and use that. Currently the external files are .png's, but I could generate a few other types, if something else might be easier to import. Thanks, -Mike
______________________________________________ R-help at stat.math.ethz.ch 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.
Following the posting guide suggests
RSiteSearch("bitmap")
which leads to
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/28384.html
and
http://finzi.psych.upenn.edu/R/Rhelp02a/archive/65284.html
On Thu, 28 Dec 2006, Michael Wolosin wrote:
All - I'm creating some plots in R that I would like to overlay on images that are created outside of R. I've used "image" before to plot image-like data within R, and have added vector plots on top of them, but I can't find a way to read in an external bitmap file into R and use that. Currently the external files are .png's, but I could generate a few other types, if something else might be easier to import. Thanks, -Mike
______________________________________________ R-help at stat.math.ethz.ch 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.
Charles C. Berry (858) 534-2098
Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu UC San Diego
http://biostat.ucsd.edu/~cberry/ La Jolla, San Diego 92093-0717
2 days later
An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20061231/2c40a656/attachment.pl