similar to: embed image in R-tcltk canvas

Displaying 20 results from an estimated 1000 matches similar to: "embed image in R-tcltk canvas"

2005 Sep 05
1
tcltk, X11 protocol error: Bug?
Hi, I am having trouble debugging this one. The code is attached below, but it seems to be a problem at the C-tk interface. If I run this 1 time there are no problems if I run it more than once I start to get warnings that increase in multiples of 11 everytime I run it. Here is a sample session > source("clrramp2.r") Loading required package: tcltk Loading Tcl/Tk interface ... done
2008 Oct 30
3
using yscrollcommand in tkcanvas crashes R (PR#13231)
Full_Name: Sundar Dorai-Raj Version: 2.8.0 OS: Windows Submission from: (NULL) (76.220.41.126) The following code crashes R: library(tcltk) tt <- tktoplevel() tc <- tkcanvas(tt, yscrollcommand = function(...) tkset(ts, ...)) > sessionInfo() R version 2.8.0 (2008-10-20) i386-pc-mingw32 locale: LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
2005 Jul 31
3
Drawing a graph with vertices and edges using tcl/tk
Dear all; I would like to draw a graph with vertices and edges, and I guess tcl/tk would be appropriate. I don't know tcl/tk but have googled for a 10-page (or so) introduction to 'getting started with tcl/tk in R' but without any luck. - Does anyone know of the existence of such a document or any other web-based material on the subject? - Does anyone have an (informative) piece of
2003 Oct 27
1
Difficulties with R.oo (static fields, etc.)
I would like to use R.oo and tcltk to implement a Turtle World. I have encountered many problems because: 1) I am not sure how to implement static fields with R.oo 2) I am not sure how to implement a constructor that would call a function only for the first instance of a class (i.e., to initialize value of static fields only once) 3) I am not sure how to remove/delete cleanly existing
2007 May 24
1
GUI component Margin on tkcanvas, tkframe or tktoplevel
Dear gurus: I have a question on how to configure the margin layout on tcl/tk GUI objects like tkcanvas, tkframe or tktoplevel. For example, if I want to leave a larger margin on the left side of the GUI container, which one should I configure, the toplevel or tkcanvas or tkframe? top<-tktoplevel() canvas<-tkcanvas(top, relief=, borderwidth=...) I also find the documentation for all
2003 Nov 27
1
tcltk - tkcreate question
Hello, i'm trying to translate following tcltk source code, which I found in newsgroup comp.lang.tcl, written by Tom Wilkason, into R Code. proc scrolled_Canvas {base} { frame $base.fm -borderwidth 2 -relief sunken canvas $base.fm.cv -yscrollcommand "$base.fm.cv_vertscrollbar set" scrollbar $base.fm.cv_vertscrollbar -orient vertical \ -command "$base.fm.cv
2007 May 16
2
Is it possible to pass a Tcl/Tk component as argument to a function
hi! All: I wonder if someone has done this before... I am writing several functions that conduct statistical analysis using a GUI interface by Tcl/Tk, they share many identical GUI components. What I am trying to do now is to simplify the code by writing a GUI repository for all the components they use, thus save effort for code maintenance. Since they all use: mainFrame <-
2010 Jun 22
0
Scrolling a tkcanvas non-starter
Hello, Is it possible to scroll a canvas that has a column of listboxes in it? Does scrolling only work with listboxes and text widgets? The following code displays the scrollbar, but - it has no thumb - does not respond to mouse clicks. - the vertical height of the tkcanvas (i.e. column1) is unconstrained. It's lower edge is out of view, and the lower button on the scrollbar is out of
2002 Mar 14
1
gif, jpeg and png image files reader AND tcltk image
Hi all, Roger Peng and Jason Turner's suggestion with ImageMagick seem to be the simplest "dirty" way to get the problem solved. But I ran into yet another interesting but quite round-about way to solve the problem (partially). Through tcltk package, one can read in the gif image with > x <- tkcmd("image", "create", "photo", file=mypic.gif)
2003 Oct 15
0
tkcanvas/bitmap for Turtle World
To represent a turtle inside a canvas (tcltk package), I have a serie of bitmaps representing the turtle heading in different directions and I would like to display the one that corresponds to the current direction of the turtle (function below). I have created with Paint a bitmap representing the turtle in BMP format and succeeded displaying it on canvas after converting it into XBM format
2001 Oct 24
1
help with library(tcltk)
Hi, I've recently installed R on a Linux Mandrake 8.0 i586 machine. I will like to run the tcltk interface but I get the following message: > library(tcltk) Error in firstlib(which.lib.loc, package) : invalid command name "tcl_findLibrary" Error in library(tcltk) : .First.lib failed > I think I have properly installed the tcl8.3 and tk8.3 libraries in
2018 Jul 30
3
Fwd: help building very old R
Hi guys, Perhaps someone here can help. I am trying to build versions of R 1 for the rcheology package (just arrived on CRAN). For R prior to 1.5.0, I cannot configure support for tcl-tk. I am building on Debian Woody (provided by Docker debian/eol) and have the following packages installed: r-base-dev tclx8.3-dev tk8.3-dev xvfb xbase-clients x-window-system-core I download R source from
2008 Mar 10
15
facebooker is rewriting URLs even off of facebook canvas
The URLs for CSS/JS files are being rewritten to the address specified in the tunnel even when outside of the facebook canvas. Is anyone else having this problem?
2003 Sep 05
1
Installing R on Red Hat Linux, Tcl/Tk
Hi, I've been trying to install R on Red Hat Linux 9 for some potential users of my R/TclTk application. I tried using the rpm for R 1.7.1 for Red Hat Linux 9. It told me that I needed: libtcl8.3.so so I looked for a binary release of Tcl 8.3.x on http://www.tcl.tk/software/tcltk/8.3.html but found that the link to the Tcl 8.3.x binaries pointed to ActiveTcl 8.4.x . I couldn't see
2002 Oct 30
2
native OS X R
I have a version of R-devel which is configured with the flags configure --with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh --with-tk-config=/Library/Frameworks/Tk.framework /tkConfig.sh --enable-R-shlib --with-aqua --without-x TCLTK_LIBS="-framework Tcl -framework Tk" TCLTK_CPPFLAGS="-I/Library/Framewor ks/Tcl.framework/Headers
2002 Sep 13
4
tcltk documentation
> Dear all, > I am looking for basic examples of the use of tcltk in R. > Thank you in advance for any information, R-script, ... Most of us started from the handful of examples you can see via demo("tcltk") There are also some good examples in the mailing list archives though some of the R to Tcl/Tk interfaces changed slightly in recent releases. -- According to the
2008 Apr 05
0
url_for + :canvas => false weirdness for non resource controllers
I noticed something strange in my app today. It appears that the extra canvas path appended in url_for is back but only for controllers that are not resources. Here is an example I have in my site: campaigns is a resource checkout is not # With the canvas false flag (rdb:1) @controller.url_for(:controller => ''campaigns'', :action => ''show'', :id
2008 Feb 08
2
Dynamic resize of drawing canvas and FXImage
How can I use the drawing canvas and its off-screen image buffer, say FXImage, to dynamically resize or have its width and height attributes changed in reply to user interaction with the main window (FXMainWindow)? It seems that whem I put initial values to W and H of the canvas or FXImage, they remain with its initial values no matter what I do whem resizing the main window. -- Ranieri Barros
2005 Nov 27
3
Canvas Tag + Rails Ajax
Hi all, Just looking for a quick sanity check. I was thinking of writing a plugin for rails to give rails developers a good way of using the new firefox 1.5/safari canvas tags. I was thinking of grabbing an existing ruby graphics library and modifying it so that it renders via the canvas tag.. So you could have link_to_remote pointing to controller actions that instead of returning
2009 Apr 03
0
New R graphics package targeting HTML 5 canvas element
Hi, canvas is a new R package implementing a graphics device that emits javascript code conforming to the HTML 5 CanvasRenderingContext2D interface. Available on CRAN soon, but you can get it here immediately: http://www.rforge.net/canvas If you have access to a beta web browser like Firefox 3.1 or later, you can see example plots here: http://www.rforge.net/canvas/plots/index.html