Displaying 20 results from an estimated 1300 matches similar to: "Re: R-help Digest, Vol 17, Issue 25"
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
2004 Apr 23
4
Tcl Tk table
Hi
I've a problem with the following example:
library(tcltk)
.Tcl("array unset tclArray")
myRarray <- matrix(1:1000, ncol=20)
for (i in (0:49))
for (j in (0:19))
.Tcl(paste("set tclArray(",i,",",j,") ",myRarray[i+1,j+1],sep=""))
tt<-tktoplevel()
table1 <- tkwidget(tt,"table",variable="tclArray",
2006 May 22
1
rerender tcltk toplevel
Hi everybody,
I am trying to write a simple progress display based on a tcltk
toplevel. My first approach was to use the progressBar widget from the
BWidget library but since this is not available on every system (missing
on at least almost all windows systems, I guess...) I wanted to have a
backup there. So my second strategy was to use a simple toplevel with a
label and update the tclvariable
2003 Aug 15
1
menubutton don´t work
Why the variable archOp does not take the value that be chosen in the
menubutton?, therefore always remains as a white one, I intend to charge
the direccion of open files in a vector and then to elect with the
menubutton with which to work but not functions thanks.Ruben
library(tcltk)
arch<-tclVar(init=" ")
archOp<-tclVar(init=" ")
vectPath<-c()
2009 Sep 28
2
re trieve user input from an tcl/tk interface
Hello everyone,
this is my first post here and I hope I signed up correctly and someone will
take me by the hand and help me out. I am new to R and cannot figure out
what to do here...
... I want to have an User Interface that requests input. I want to save
this input to a variable to use it later on. I was able to do this with a
modalDiaglog (
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
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',
2006 Jun 21
0
Some R-Tcl/Tk-BWidget newbie questions.
Dear list,
Could somebody who is more experienced with the Tcl/Tk interface from R
please help me clarify the 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
2003 Jul 29
1
Tktable active cell
Thomas Sudler <TSudler at ch.imshealth.com> wrote:
> I want to start an action when i click into a cell. Example:
When I click
> into a cell, a message box should open with the information of
the
> location of the cell where I clicked in. <SNIP> So I only
> need to know how to get the possition of the active cell.
Thomas,
Getting the active cell is easy, just use :
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
2012 Mar 25
1
How to install tclRequire(Iwidgets)
hi, i'm trying to make "Tabbed Notebook Widget",but cannot install
"tclRequire(Iwidgets)".
I installed Activetcl but I don't know what can be the next step to execute
"tclRequire(Iwidgets)".
how can i do that?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/How-to-install-tclRequire-Iwidgets-tp4502775p4502775.html
Sent from the R help
2010 Aug 05
1
Error in as.environment(pos): using 'as.environment(NULL)' is defunct
Hello,
I?m using R 2.11.1 with Tinn-R 1.17.2.4.
I hope the given informations are enough (it?s my first entry here)
The as.environment(pos) error appears in using the following code which
should open a function in an other R-file.
Here some extractions of the code:
....
HZ<-tclVar(seq(length=a,from=1,by=0)) #(a is defined by a
tkentry-element)
VZ<-tclVar(seq(length=a,from=1,by=0))
2012 Aug 29
1
Problem Installing a Package
I have just installed the latest version of R on a openSUSE 12.1 system
running on an ORacle VM VirtualBox and have encountered a problem with
installing ChemometricsWithR. Here is the output:
> library("compiler")
> install.packages("ChemometricsWithR")
Installing package(s) into ?/home/computation/R/x86_64-unknown-linux-gnu-
library/2.15?
(as ?lib? is unspecified)
2012 Aug 24
1
Error while installing gsubfn_0.6-4.tar.gz for R 2.15.1
Hi,
I am getting the follwoing error while installing gsubfn_0.6-4.tar.gz library for R. R version is 2.15.1 and i am installing on Redhat linux version 2.6.18-238.9.1.el5 (mockbuild at x86-002.build.bos.redhat.com<mailto:mockbuild at x86-002.build.bos.redhat.com>) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-50))
* installing to library ?/home/mapred/installables/R/library?
* installing
2003 Apr 23
1
iwidgets in tcltk in R 1.7.0
Hi,
I have successfully installed R 1.7.0 and ActiveTcl 8.4.2.0 in
Windows 2000. Yes, I know that Tcl is already bundled with
R 1.7.0, but I want to use the iwidgets package to create a
drop-down listbox, and I don't think iwidgets is included in the
bundled R 1.7.0/TclTk installation package. I have set the
environment variables TCL_LIBRARY and MY_TCLTK to the directory
where I
2012 Sep 24
1
eval and tcltk : target of assignment expands to non-language object
Hi everyone,
I have a problem to assign a value with tcl/tk
ths is the code ( it should be simple to understand) :
library(tcltk)
valA<-tclVar("0")
valB<-tclVar("0")
valC<-tclVar("0")
id<-"A"
out<-"1"
out2<-"2"
print(paste("tclvalue(val",id,")",sep="")) # ok
2008 Mar 24
2
as.numeric with tclvalue redux
Hi again R People:
This works fine:
> library(tcltk)
> a <- tclVar("4.5")
> as.numeric(tclvalue(a))
[1] 4.5
> #But if you have:
> b <- tclVar("pi")
> as.numeric(tclvalue(b))
[1] NA
Warning message:
NAs introduced by coercion
>
Is anyone aware of a way around this, please?
thanks,
Erin
--
Erin Hodgess
Associate Professor
Department of Computer
2005 Oct 24
1
tk problem with R 2.2.0 on wine/linux
Actually I am trying to run sciview-R and encounted some problems with
tk, and I thought I'll check the basic library(tcltk) functionallity,
just to be sure. Anybody seen that '[tcl] bad window path name ".1".'
message before?
Prof. Philippe Grosjean: yes, I have managed to load most of
sciview-R under Wine, except the tcltk library!
===================
R : Copyright 2005,
2010 Nov 19
1
Set colour in tcl variable
Hello all,
using package tcltk this is my problem:
I want to set a colour of a tclVar().
I have a tklabel (fixed in position) which should display two variables
occasionally.
If a constraint is fulfilled, the tklabel should display
correct<-tclVar('correct') in green, otherwise it should display
wrong<-tclVar('wrong') in red!
To display the variables is no