[R-gui] tcltk: "Image" rather than bitmap loaded on tklabel
Dirk Eddelbuettel
edd at debian.org
Wed Jul 9 21:19:06 MEST 2003
On Thu, Jul 10, 2003 at 12:17:23AM +0200, Peter Dalgaard BSA wrote:
> 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?
Hm, "man 3tk photo" doesn't mean that much to me as I never programmed in
tcl itself, but only ever through the Perl and R bindings.
So no, sorry, that wasn't self-sufficient.
Regards, Dirk
--
Don't drink and derive. Alcohol and analysis don't mix.
More information about the R-SIG-GUI
mailing list