Hi, Try this,
library(png) example(readPNG) HTH, baptiste On 6 June 2010 13:46, oliver <oli...@first.in-berlin.de> wrote: > Hello, > > > how can I load an external picture/image file to screen? > > I want to use locator() then to get coordinates of that picture... > ...in other words I want to use R to do some measurements on a picture. > > Therefore I need to load the image into R display, > and that displaying needs to work together with locator(). > > > How to do it best? > > At the moment I need to be able to read in *.png files, > but if *.jpeg or other formats also will be supporttzed, this would be fine. > > ______________________________________________ > R-help@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. > ______________________________________________ R-help@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.