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

Peter Dalgaard BSA p.dalgaard at biostat.ku.dk
Wed Jul 9 23:14:47 MEST 2003


Dirk Eddelbuettel <edd at debian.org> writes:

> 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?

Does "man n photo" get you anywhere?

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907



More information about the R-SIG-GUI mailing list