Displaying 20 results from an estimated 10000 matches similar to: "Is it possible to pass a Tcl/Tk component as argument to a function"
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
2005 Apr 23
1
tclServiceMode: stop Tcl/Tk from updating
In Windows, Tcl/Tk programs running under the tcltk package can update
too frequently: for exmaple, we might go through a long sequence of
operations to construct a complex display, and in Windows each addition
will be shown separately.
To work around this, I've added a function "tclServiceMode" which serves
as an R interface to the "Tcl_SetServiceMode" function in the
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
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
1998 Apr 01
0
R-tk mailing list
This is to announce that Martin Maechler has set up a new mailing list
with the purpose of investigating the possibility to use Tcl/Tk with
R.
As you may know, Tcl is a scripting language and Tk is its GUI
toolkit. In the context of R, the main attractions are
- portability X/Win3.1/Win32/Mac
- ease of implementation (people say...)
- nice GUI model of Tk
- possibility of making language
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
1999 Jun 30
1
New packages (tcl/tk <-> R glue + Visual Tcl)
[Reposted by R-announce-owner because of R-announce protection.
Guido is subscribed under a different E-mail..]
I have made available in the 'Contributed R code | Devel' section of CRAN
(in this moment only at Wien) two new packages:
'tcltk': this package let to create and use tcl/tk interpreters
from R. The tcl interpreters have an additional command
1999 Jun 30
1
New packages (tcl/tk <-> R glue + Visual Tcl)
[Reposted by R-announce-owner because of R-announce protection.
Guido is subscribed under a different E-mail..]
I have made available in the 'Contributed R code | Devel' section of CRAN
(in this moment only at Wien) two new packages:
'tcltk': this package let to create and use tcl/tk interpreters
from R. The tcl interpreters have an additional command
2004 Sep 30
1
tcl/tk
Hi all,
I am already using R under Window and would like now to try and install it
under Unix; I read I need tcl/tk installed so I connected to
http://www.scriptics.com downloaded the file and extracted them to a
directory tcltk beside R. I configured (./configure) both packages (tcl and
tk) and compiled (make) them but I am not sure about how to proceed now:
should I launch the command make
2010 Nov 19
2
intall tcl/tk
Dear Help List,
I am trying to install a package (DiagnosisMed) on R (R version 2.10.1
(2009-12-14)) on Debian Lenny (architecture i386).
I get the following error message:
~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~*~
* installing *source* package ‘DiagnosisMed’ ...
** R
** data
** preparing package for lazy loading
Error in firstlib(which.lib.loc, package) :
Tcl/Tk support is not available on this
2009 Oct 28
1
compilation options to get install.packages() to invoke tcl/tk
Hi UseRs,
I've just installed 2.10.0 on Ubuntu hardy, compiling from the tar.gz bundle.
install.packages() just says "Error in install.packages() : no
packages were specified"
The "normal" hardy 2.6.2 version pops up a tcl/tk menu for repositories.
I'm assuming I missed a configure option for tcl/tk, but the configure
script says that --with-tcltk is
the default.
2001 Oct 04
1
tcl/tk & Windows2000?
Hello,
i have some problems to run tcltk/R
on with Win2000.
With Win98 i have no problems !?
When i do this in R, i get no message-error & tcl/tk
is really here !
Sys.putenv("TCL_LIBRARY"="C:/tcl/lib/tcl83")
,but after i use :
library(tcltk)
,i get :
Error in dyn.load(x, as.logical(local), as.logical(now)) :
unable to load shared library
2003 Aug 19
0
Tcl/Tk on Panther
It used to be sufficient to configure R with
configure --enable-R-shlib
--with-tcl-config=/Library/Frameworks/Tcl.framework/tclConfig.sh
--with-tk-config=/Library/Frameworks/Tk.framework/tkConfig.sh
--with-blas='-framework vecLib' --with-lapack --with-aqua
but for some reason this does get Tcl/Tk support build in Panther
(batteries included version of Aqua Tcl/Tk,
but observe
2010 Sep 01
1
Installing a Tcl/Tk Extension on OSX
Dear R-Community,
I need the Img tk extension for my R package. It all works on my Ubuntu
machine (libtk-img). However I experience a great deal of trouble when I
try to install the package on OSX 10.5 or 10.6 (in fact I'm not able to
do it).
As I understand it, the ActiveTcl with it's teacup package manager do
not have an effect on the the x11 tcl installation which R accesses.
MacPorts
2009 Jan 15
1
About Tcl/Tk after command in R
Dear R-helpers,
I have a problem with the tcl "after" instruction. When I send:
> library(tcltk)
Loading Tcl/Tk interface ... done
> tcl("after",1000,cat("try tcl after\n"))
try tcl after
<Tcl>
the tcl command works fine. Similarly, the tcl command:
> tcl("after",1000,plot(rnorm(100)))
<Tcl>
works fine. But, if I send the command:
2010 Aug 30
1
Including C Code for Tcl and Tk in an R package
Dear R Community,
I adapted the C-Code found at (http://wiki.tcl.tk/25685) implementing
fast image resizing for Tk images for my R package.
The C Code differs for tcl/tk version 8.4 and 8.5. I have the working
code for both versions.
How do I integrate this C-Code into my package so that R CMD INSTALL
takes care of compiling the function correct for each OS and tcl
version? (such that I can
2002 Aug 06
1
Using Tcl/Tk on Windows
Hello,
I would like to try Tcl/Tk library on Windows.
I installed ActiveTCL 8.3.4.3 and add the environment variable TCL_LIBRARY
linking to the directory of installation.
When I load the Tcl/Tk package, I have the following error:
+--------------------------------------------------------------+
Error in firstlib(which.lib.loc, package) :
Can't find a usable init.tcl in the
2010 Jan 22
1
Help on tcl/tk package installation
Hi, Dear all,
i encounted a problem with tcl/tk installation
actually i want to install q-value package
i use the R CMD INSTALL command:
[root@bioinfo ~]# R CMD INSTALL qvalue_1.20.0.tar.gz
* Installing to library �usr/local/lib64/R/library�
* Installing *source* package ‘qvalue�...
** R
** data
** inst
** preparing package for lazy loading
Error in firstlib(which.lib.loc, package) :
2006 Oct 17
2
tcl/tk rsync wrapper planned
Hello,
we did some research and we would like to try to write a Tcl/Tk wrapper
around rsync.
Tcl/Tk -
- is easy to write
- has nice GUI library
- is cross platform
- has several installers
Would somebody be interested to participate?
Our goal is -
To have a small Windows XP and OS X backup applications that allow the
user to select a folder which is sent to a remote server.
Incremental
2006 Feb 23
1
tcl/tk - Problem unter MacOS X / X11
Hallo !
Ich habe versucht Rcmdr unter MacOSX 10.4.5 zu installieren. RGui zeigt
an, dass tcl/tk laufen. Bei Aufruf von Rcmdr friert R jedoch komplett ein.
JGR zeigt im Paketmanager dagegen an, dass tcl/tk nicht gestartet werden
konnte und spuckt folgende Meldung aus:
> library(tcltk)
Loading Tcl/Tk interface ... Error in fun(...) : no display name and no
$DISPLAY environment variable