Dear DevelopeRs,

for an R-Commander plugin, I want to display a pre-stored information image,
if the user presses a button. Everything works fine with the command 

tcl("image",  "create", "photo", "MaxC2.image", file="MaxC2res3image.gif")

for image creation, as long as the file entry refers to the correct location
of the file on my hard drive. How can I make this portable ? 

I currently have the image stored in the inst directory. "R CMD INSTALL
--build" moves it to the top directory in the zip file. I have no idea how
to tell R (or tcl) where to look for the file. Any help is appreciated!

Best regards,
Ulrike

*************
Ulrike Groemping
BHT Berlin


-- 
View this message in context: 
http://www.nabble.com/Display-image-in-tcl-tk-information-window%3A-path-to-file---tp25490113p25490113.html
Sent from the R devel mailing list archive at Nabble.com.

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to