Skip to content
Back to formatted view

Raw Message

Message-ID: <x2k7arcpl8.fsf@biostat.ku.dk>
Date: 2003-07-10T00:14:49Z
From: Peter Dalgaard
Subject: [R-gui] tcltk: "Image" rather than bitmap loaded on tklabel
In-Reply-To: <20030709161118.GA17964@sonny.eddelbuettel.com>

Dirk Eddelbuettel <edd@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@biostat.ku.dk)             FAX: (+45) 35327907