Displaying 9 results from an estimated 9 matches for "addtclpath".
2005 Aug 23
2
Using tcltk to display jpeg images
Dear R Helpers,
Does anyone know how to use tcltk to display jpeg images? The manual says
that
one must use Tk_PhotoCreateImageFormat to register the jpeg image handler.
The
"ActiveTcl User Guide"
(http://support.serv.ch/lang/tcl/img/doc/img-jpeg.html)
says:-
"The package img::jpeg is a sub-package of Img. It can be loaded as a part
of the complete
Img support, via package require
2003 Apr 17
1
Help with TCL packages
Hello,
I am exploring the TCLTK package under R and try to load and use additional TCL libraries (under Windows, with TCL8.3). For example :
> addTclPath("C:/TCL/lib/bwidget1.5")
> tclRequire("BWidget")
<Tcl> 1.5
Loading seems to work, but when I try to create a specific widget :
# The main window appears correctly
> top=tktoplevel()
# Trying to insert a combobox
> combo <- tkwidget(top,"BWidget::combobo...
2004 Jul 27
1
Re: R-help Digest, Vol 17, Issue 25
...-5.2.0 on a linux
machine running the 2.4.30-31.9smp kernel. I'm using the
ActiveTcl8.4.6.1-linux-ix86 tcltk libraries.
When I run the following comands, however, I get an R segmentation
fault:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> library(tcltk)
> addTclPath("/usr/local/ActiveTcl/lib")
> tclRequire("Img")
<Tcl> 1.3
>tkcmd("image","create","photo",tclVar(),file="/path/to/file.jpg")
Process R segmentation fault at Tue Jul 27 18:18:40 2004
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~...
2003 Sep 05
1
Installing R on Red Hat Linux, Tcl/Tk
...o work better after I copied /usr/share/tk8.3 to
/usr/local/lib/tk8.3/ (but I initially forgot to do the same
with tcl so was probably using the version I built from source).
So now library(tcltk) seems to be working, but I'm getting
segmentation faults if I try to use Tktable, after doing
addTclPath("/usr/local/ActiveTcl/lib"). (Installing ActiveTcl
seemed easier than building Tcl/Tk extensions from source.)
So maybe I need to build Tktable --with tcl8.3 and tk8.3.
I expect to be able to sort this out pretty soon, but I'm just
wondering whether the R/Linux gurus out there hav...
2006 Jun 21
0
Some R-Tcl/Tk-BWidget newbie questions.
...e issues I've put below with ### --> tags?
Several things go wrong, and it's probably because of messy code, but I
have a difficult time finding out what is the cause.
Thanks very much,
JeeBee.
require(tcltk) || stop("Package tcltk is not available.")
# Add path to BWidgets
addTclPath(".")
version.BWidget <<- tclvalue(tclRequire("BWidget"))
start.gui <- function() {
# Toplevel
tt <- tktoplevel()
tkwm.title(tt, "MyTitle")
# Notebook
### --> The following line makes R hang with 100% cpu forever
#tkpack(tn <- tkwidget(tt,...
2007 Oct 15
0
iwidgets not found in r on windows
Hello,
I have a problem with using Iwidgets in R while i'm able to use BWiget and Tktable. If I let tcl list the names of
packages, Iwidgets seems available. I use R 2.6.0; in addition addTclPath("C:/Tcl/lib") has been used (in which iwidets is present)
> try(tcl("package", "names"))
<Tcl> http opt tcltest ::Utility::expand Widget ::Utility::number BWidget msgcat Tktable Hierarchy ::Utility Iwidgets registry ::Utility::dump ::Utility::tk ::Utility::st...
2008 Jul 24
0
unable to load a library
hello all,
i'm running R-2.6.1 on solaris 10 (x86). I added the package aplpack
without problems, but when i try to use it, i got errors:
> library(aplpack)
Loading required package: tcltk
Error in namespaceExport(ns, exports) :
undefined exports :addTclPath, as.tclObj, is.tclObj, is.tkwin,
tclfile.dir, tclfile.tail
In addition: Warning message:
S3 methods '$.tclvar', '$<-.tclvar', 'as.character.tclObj',
'as.character.tclVar', 'as.double.tclObj', 'as.integer.tclObj',
'as.logical.tclObj', 'p...
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
2012 Jan 28
1
need gui matrix editor: does R Core team have advice on how?
Dear R-devel:
Would R core team consider endorsing a graphical toolkit and trying to
facilitate development of little GUI tools?
I need a gui matrix editor for users that want to be able to write
matrices that are later used to simulate data. Instead of teaching
them to write a covariance matrix (for example, for mvtnorm), I want
to tell them run a function that pops up a table they can fill