display image in tcltk window with R... How? -


can tell me how dislpay image in tcltk window ?

i found img package here : sourceforge (1.3 version) can't install manually because of missing 'description' file.

how can install ?

-> how can display image on tcltk window (using img package or not) ?

thank you

config : windows 7 64 bits, r 3.0.1

you can use label this:

w <- tktoplevel() tcl("image","create","photo", "imageid", file="your_image.gif") l <- ttklabel(w, image="imageid", compound="image") tkpack(l) 

this supports limited number of file formats though.


Comments

Popular posts from this blog

javascript - Unusual behaviour when drawing lots of images onto a large canvas -

how can i manage url using .htaccess in php? -

javascript - Chart.js - setting tooltip z-index -