[R-gui] tcltk: "Image" rather than bitmap loaded on tklabel

Dirk Eddelbuettel edd at debian.org
Wed Jul 9 12:11:18 MEST 2003


Hi all,

How can I display images from external files in tcltk?

In Perl/Tk, I can use the Tk::Photo widget to load a .png graphic file,
which then goes into a label or button widget. In R, I only managed to do
that with a bitmap which I converted from a .png file. 

Is there a simple way without having to re-code pieces of, say, tkrplot?

Thanks, Dirk


-- 
Don't drink and derive. Alcohol and analysis don't mix.



More information about the R-SIG-GUI mailing list